From 011c27101ca66c7ef71b43468cc396a1492917bf Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Thu, 7 Mar 2013 09:44:00 +0100 Subject: [PATCH] remove unused variable which causen an undefined-index notice because it is not part of the form, fixes #1133 Signed-off-by: Michael Kaufmann (d00p) --- customer_extras.php | 1 - 1 file changed, 1 deletion(-) diff --git a/customer_extras.php b/customer_extras.php index 4cdb9ae8..f4368090 100644 --- a/customer_extras.php +++ b/customer_extras.php @@ -50,7 +50,6 @@ elseif($page == 'backup') if(isset($_POST['send']) && $_POST['send'] == 'send'){ $backup_enabled = ($_POST['backup_enabled'] == '1' ? '1' : '0'); - $backup_ftp_enabled = ($_POST['backup_ftp_enabled'] == '1' ? '1' : '0'); $db->query("UPDATE `" . TABLE_PANEL_CUSTOMERS . "` SET `backup_enabled`='" . $backup_enabled . "' WHERE `customerid`='" . (int)$userinfo['customerid'] . "'"); redirectTo($filename, Array('page' => $page, 's' => $s));