From f1cfe41d07fd8bbfa595a42ba8b4c230a76dcf0d Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Fri, 15 Nov 2013 08:29:53 +0100 Subject: [PATCH] fix getCustomerDetail()-query, thx to Sephi Signed-off-by: Michael Kaufmann (d00p) --- lib/functions/froxlor/function.getCustomerDetail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/froxlor/function.getCustomerDetail.php b/lib/functions/froxlor/function.getCustomerDetail.php index 04713165..a07163e4 100644 --- a/lib/functions/froxlor/function.getCustomerDetail.php +++ b/lib/functions/froxlor/function.getCustomerDetail.php @@ -20,7 +20,7 @@ function getCustomerDetail($customerid, $varname) { $customer_stmt = Database::prepare(" - SELECT `' . $varname . '` FROM `" . TABLE_PANEL_CUSTOMERS . "` WHERE `customerid` = :customerid + SELECT `" . $varname . "` FROM `" . TABLE_PANEL_CUSTOMERS . "` WHERE `customerid` = :customerid "); $customer = Database::pexecute_first($customer_stmt, array('customerid' => $customerid));