Skip to content

Commit 86853d4

Browse files
author
Till Brehm
committed
Fixed #3835 Delete MailBackup not working - Log shows a warning about SQL Injection
1 parent 44866b1 commit 86853d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/plugin_backuplist_mail.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function onShow() {
7575
if($tmp['number'] == 0) {
7676
$message .= $wb['delete_info_txt'];
7777
$sql = "INSERT INTO sys_remoteaction (server_id, tstamp, action_type, action_param, action_state, response) " .
78-
"VALUES (?, ?, 'backup_delete_mail, ?, 'pending', '')";
78+
"VALUES (?, ?, 'backup_delete_mail', ?, 'pending', '')";
7979
$app->db->query($sql, $this->form->dataRecord['server_id'], time(), $backup_id);
8080
} else {
8181
$error .= $wb['delete_pending_txt'];

0 commit comments

Comments
 (0)