From c21b767654f247275142534ab9e880e11ae486a1 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Wed, 13 Nov 2013 17:22:37 +0100 Subject: [PATCH] every day is typo day...thx oschn0r Signed-off-by: Michael Kaufmann (d00p) --- admin_domains.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/admin_domains.php b/admin_domains.php index e39c9044..75048a7e 100644 --- a/admin_domains.php +++ b/admin_domains.php @@ -1041,7 +1041,7 @@ if ($page == 'domains' $customer_stmt = Database::prepare(" SELECT * FROM " . TABLE_PANEL_CUSTOMERS . " WHERE `customerid` = :customerid "); - $customer = $customer_old = Database::pexecute_first($customer_stmt, array('customerid' => $result['customerid'])); + $customer = Database::pexecute_first($customer_stmt, array('customerid' => $result['customerid'])); $customerid = intval($_POST['customerid']); if (isset($_POST['customerid']) @@ -1083,7 +1083,7 @@ if ($page == 'domains' $customer_stmt = Database::prepare(" SELECT * FROM " . TABLE_PANEL_ADMINS . " WHERE `adminid` = :adminid "); - $admin = $admin_old = Database::pexecute_first($customer_stmt, array('adminid' => $result['adminid'])); + $admin = Database::pexecute_first($customer_stmt, array('adminid' => $result['adminid'])); if ($userinfo['customers_see_all'] == '1') { @@ -1616,14 +1616,14 @@ if ($page == 'domains' $_update_stmt = Database::prepare(" UPDATE `" . TABLE_PANEL_DOMAINS . "` SET - `customerid` = .customerid, + `customerid` = :customerid, `adminid` = :adminid, `openbasedir` = :openbasedir, `phpsettingid` = :phpsettingid, `mod_fcgid_starter` = :mod_fcgid_starter, `mod_fcgid_maxrequests` = :mod_fcgid_maxrequests " . $upd_specialsettings . $updatechildren . " - WHERE `parentdomainid` = parentdomainid + WHERE `parentdomainid` = :parentdomainid "); Database::pexecute($_update_stmt, $_update_data);