@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $postdata = ''; |
76 | 76 | |
77 | 77 | foreach ($_POST as $i => $v) { |
78 | - $postdata .= $i . '=' . urlencode($v) . '&'; |
|
78 | + $postdata .= $i.'='.urlencode($v).'&'; |
|
79 | 79 | } |
80 | 80 | $postdata .= 'cmd=_notify-validate'; |
81 | 81 | $web = parse_url(HelperConfig::$shop['paypal']['url']); |
@@ -87,15 +87,15 @@ discard block |
||
87 | 87 | $web['port'] = 80; |
88 | 88 | $ssl = ''; |
89 | 89 | } |
90 | - $fp = @fsockopen($ssl . $web['host'], $web['port'], $errnum, $errstr, 30); |
|
90 | + $fp = @fsockopen($ssl.$web['host'], $web['port'], $errnum, $errstr, 30); |
|
91 | 91 | |
92 | 92 | if ($fp) { |
93 | - fwrite($fp, 'POST ' . $web['path'] . " HTTP/1.1\r\n"); |
|
94 | - fwrite($fp, 'Host: ' . $web['host'] . "\r\n"); |
|
93 | + fwrite($fp, 'POST '.$web['path']." HTTP/1.1\r\n"); |
|
94 | + fwrite($fp, 'Host: '.$web['host']."\r\n"); |
|
95 | 95 | fwrite($fp, "Content-type: application/x-www-form-urlencoded\r\n"); |
96 | - fwrite($fp, 'Content-length: ' . strlen($postdata) . "\r\n"); |
|
96 | + fwrite($fp, 'Content-length: '.strlen($postdata)."\r\n"); |
|
97 | 97 | fwrite($fp, "Connection: close\r\n\r\n"); |
98 | - fwrite($fp, $postdata . "\r\n\r\n"); |
|
98 | + fwrite($fp, $postdata."\r\n\r\n"); |
|
99 | 99 | |
100 | 100 | $info = []; |
101 | 101 | while (!feof($fp)) { |
@@ -105,9 +105,9 @@ discard block |
||
105 | 105 | $info = implode(',', $info); |
106 | 106 | if (!(strpos($info, 'VERIFIED') === false)) { |
107 | 107 | |
108 | - $sLogData .= '-- new entry - ' . date(HelperConfig::$core['locale_format_date_time']) . " --\n\n"; |
|
108 | + $sLogData .= '-- new entry - '.date(HelperConfig::$core['locale_format_date_time'])." --\n\n"; |
|
109 | 109 | $sLogData .= "W00T!\n\n"; |
110 | - $sLogData .= \HaaseIT\Toolbox\Tools::debug($_REQUEST, '', true, true) . "\n\n"; |
|
110 | + $sLogData .= \HaaseIT\Toolbox\Tools::debug($_REQUEST, '', true, true)."\n\n"; |
|
111 | 111 | |
112 | 112 | // Check if the transaction id has been used before |
113 | 113 | $queryBuilder = $this->dbal->createQueryBuilder(); |
@@ -138,27 +138,27 @@ discard block |
||
138 | 138 | ; |
139 | 139 | $queryBuilder->execute(); |
140 | 140 | |
141 | - $sLogData .= '-- Alles ok. Zahlung erfolgreich. TXNID: ' . $_REQUEST['txn_id'] . " --\n\n"; |
|
141 | + $sLogData .= '-- Alles ok. Zahlung erfolgreich. TXNID: '.$_REQUEST['txn_id']." --\n\n"; |
|
142 | 142 | } else { |
143 | 143 | $sLogData .= "-- In my country we have problem; Problem is evaluation. Throw the data down the log!\n"; |
144 | - $sLogData .= 'mc_gross: ' . $_REQUEST['mc_gross'] . ' - number_format($fGesamtbrutto, 2, \'.\', \'\'): ' . number_format($fGesamtbrutto, |
|
145 | - 2, '.', '') . "\n"; |
|
146 | - $sLogData .= 'custom: ' . $_REQUEST['custom'] . ' - $aOrder[\'o_id\']: ' . $aOrder['o_id'] . "\n"; |
|
147 | - $sLogData .= 'payment_status: ' . $_REQUEST['payment_status'] . "\n"; |
|
148 | - $sLogData .= 'mc_currency: ' . $_REQUEST['mc_currency'] . ' - HelperConfig::$shop["paypal"]["currency_id"]: ' . HelperConfig::$shop['paypal']['currency_id'] . "\n"; |
|
149 | - $sLogData .= 'business: ' . $_REQUEST['receiver_email'] . ' - HelperConfig::$shop["paypal"]["business"]: ' . HelperConfig::$shop['paypal']['business'] . "\n\n"; |
|
144 | + $sLogData .= 'mc_gross: '.$_REQUEST['mc_gross'].' - number_format($fGesamtbrutto, 2, \'.\', \'\'): '.number_format($fGesamtbrutto, |
|
145 | + 2, '.', '')."\n"; |
|
146 | + $sLogData .= 'custom: '.$_REQUEST['custom'].' - $aOrder[\'o_id\']: '.$aOrder['o_id']."\n"; |
|
147 | + $sLogData .= 'payment_status: '.$_REQUEST['payment_status']."\n"; |
|
148 | + $sLogData .= 'mc_currency: '.$_REQUEST['mc_currency'].' - HelperConfig::$shop["paypal"]["currency_id"]: '.HelperConfig::$shop['paypal']['currency_id']."\n"; |
|
149 | + $sLogData .= 'business: '.$_REQUEST['receiver_email'].' - HelperConfig::$shop["paypal"]["business"]: '.HelperConfig::$shop['paypal']['business']."\n\n"; |
|
150 | 150 | } |
151 | 151 | } else { |
152 | 152 | // INVALID LOGGING ERROR |
153 | - $sLogData .= '-- new entry - ' . date(HelperConfig::$core['locale_format_date_time']) . " --\n\nPHAIL\n\n"; |
|
154 | - $sLogData .= '!!! JEMAND HAT EINE ALTE TXN_ID BENUTZT: ' . $_REQUEST['txn_id'] . " !!!\n\n"; |
|
153 | + $sLogData .= '-- new entry - '.date(HelperConfig::$core['locale_format_date_time'])." --\n\nPHAIL\n\n"; |
|
154 | + $sLogData .= '!!! JEMAND HAT EINE ALTE TXN_ID BENUTZT: '.$_REQUEST['txn_id']." !!!\n\n"; |
|
155 | 155 | $sLogData .= "!!! INVALID !!!\n\n"; |
156 | 156 | } |
157 | 157 | } else { |
158 | - $sLogData .= '-- new entry - ' . date(HelperConfig::$core['locale_format_date_time']) . " --\n\nPHAIL - Transaktion fehlgeschlagen. TXNID: " . $_REQUEST['txn_id'] . "\n" . $info . "\n\n"; |
|
158 | + $sLogData .= '-- new entry - '.date(HelperConfig::$core['locale_format_date_time'])." --\n\nPHAIL - Transaktion fehlgeschlagen. TXNID: ".$_REQUEST['txn_id']."\n".$info."\n\n"; |
|
159 | 159 | } |
160 | 160 | |
161 | - file_put_contents(PATH_LOGS . FILE_PAYPALLOG, $sLogData, FILE_APPEND); |
|
161 | + file_put_contents(PATH_LOGS.FILE_PAYPALLOG, $sLogData, FILE_APPEND); |
|
162 | 162 | } |
163 | 163 | } |
164 | 164 |
@@ -72,14 +72,14 @@ |
||
72 | 72 | .'&project_id='.HelperConfig::$shop['sofortueberweisung']['project_id'].'&amount=' |
73 | 73 | .number_format($fGesamtbrutto, 2, '.', '') |
74 | 74 | .'&currency_id='.HelperConfig::$shop['sofortueberweisung']['currency_id'].'&reason_1=' |
75 | - .urlencode($this->textcats->T('misc_paysofortueberweisung_ueberweisungsbetreff') . ' ').$iId; |
|
75 | + .urlencode($this->textcats->T('misc_paysofortueberweisung_ueberweisungsbetreff').' ').$iId; |
|
76 | 76 | if (HelperConfig::$shop['interactive_paymentmethods_redirect_immediately']) { |
77 | - header('Location: ' . $sPURL); |
|
77 | + header('Location: '.$sPURL); |
|
78 | 78 | die(); |
79 | 79 | } |
80 | 80 | |
81 | - $this->P->oPayload->cl_html = $this->textcats->T('misc_paysofortueberweisung_greeting') . '<br><br>'; |
|
82 | - $this->P->oPayload->cl_html .= '<a href="' . $sPURL . '">' . $this->textcats->T('misc_paysofortueberweisung') . '</a>'; |
|
81 | + $this->P->oPayload->cl_html = $this->textcats->T('misc_paysofortueberweisung_greeting').'<br><br>'; |
|
82 | + $this->P->oPayload->cl_html .= '<a href="'.$sPURL.'">'.$this->textcats->T('misc_paysofortueberweisung').'</a>'; |
|
83 | 83 | } else { |
84 | 84 | $this->P->oPayload->cl_html = $this->textcats->T('misc_paysofortueberweisung_paymentnotavailable'); |
85 | 85 | } |
@@ -56,14 +56,14 @@ discard block |
||
56 | 56 | if (!CHelper::getUserData()) { |
57 | 57 | $this->P->oPayload->cl_html = $this->textcats->T('denied_notloggedin'); |
58 | 58 | } else { |
59 | - require_once PATH_BASEDIR . 'src/shop/functions.shoppingcart.php'; |
|
59 | + require_once PATH_BASEDIR.'src/shop/functions.shoppingcart.php'; |
|
60 | 60 | |
61 | 61 | $this->P->cb_customcontenttemplate = 'shop/myorders'; |
62 | 62 | |
63 | 63 | if (isset($_GET['action'], $_GET['id']) && $_GET['action'] === 'show') { |
64 | 64 | $iId = \filter_input(INPUT_GET, 'id', FILTER_SANITIZE_NUMBER_INT); |
65 | 65 | |
66 | - $sql = 'SELECT * FROM ' . 'orders WHERE o_id = :id AND o_custno = \'' . $_SESSION['user']['cust_no'] . '\' AND o_ordercompleted != \'d\''; |
|
66 | + $sql = 'SELECT * FROM '.'orders WHERE o_id = :id AND o_custno = \''.$_SESSION['user']['cust_no'].'\' AND o_ordercompleted != \'d\''; |
|
67 | 67 | $hResult = $this->db->prepare($sql); |
68 | 68 | $hResult->bindValue(':id', $iId); |
69 | 69 | $hResult->execute(); |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | $aOrder['o_ordertimestamp'] |
77 | 77 | ); |
78 | 78 | $this->P->cb_customdata['orderdata']['orderremarks'] = $aOrder['o_remarks']; |
79 | - $this->P->cb_customdata['orderdata']['paymentmethod'] = $this->textcats->T('order_paymentmethod_' . $aOrder['o_paymentmethod']); |
|
79 | + $this->P->cb_customdata['orderdata']['paymentmethod'] = $this->textcats->T('order_paymentmethod_'.$aOrder['o_paymentmethod']); |
|
80 | 80 | $this->P->cb_customdata['orderdata']['paymentcompleted'] = (($aOrder['o_paymentcompleted'] == 'y') ? $this->textcats->T('myorders_paymentstatus_completed') : $this->textcats->T('myorders_paymentstatus_open')); |
81 | 81 | $this->P->cb_customdata['orderdata']['orderstatus'] = SHelper::showOrderStatusText($this->textcats, $aOrder['o_ordercompleted']); |
82 | 82 | $this->P->cb_customdata['orderdata']['shippingservice'] = $aOrder['o_shipping_service']; |
@@ -118,12 +118,12 @@ discard block |
||
118 | 118 | } |
119 | 119 | } else { |
120 | 120 | $COList = [ |
121 | - ['title' => $this->textcats->T('order_head_orderdate'), 'key' => 'o_ordertime', 'width' => 110, 'linked' => false,], |
|
122 | - ['title' => $this->textcats->T('order_head_paymenthethod'), 'key' => 'o_paymentmethod', 'width' => 125, 'linked' => false,], |
|
123 | - ['title' => $this->textcats->T('order_head_paid'), 'key' => 'o_paymentcompleted', 'width' => 60, 'linked' => false,], |
|
124 | - ['title' => $this->textcats->T('order_head_status'), 'key' => 'o_order_status', 'width' => 80, 'linked' => false,], |
|
125 | - ['title' => $this->textcats->T('order_head_shipping_service'), 'key' => 'o_shipping_service', 'width' => 90, 'linked' => false,], |
|
126 | - ['title' => $this->textcats->T('order_head_shipping_trackingno'), 'key' => 'o_shipping_trackingno', 'width' => 130, 'linked' => false,], |
|
121 | + ['title' => $this->textcats->T('order_head_orderdate'), 'key' => 'o_ordertime', 'width' => 110, 'linked' => false, ], |
|
122 | + ['title' => $this->textcats->T('order_head_paymenthethod'), 'key' => 'o_paymentmethod', 'width' => 125, 'linked' => false, ], |
|
123 | + ['title' => $this->textcats->T('order_head_paid'), 'key' => 'o_paymentcompleted', 'width' => 60, 'linked' => false, ], |
|
124 | + ['title' => $this->textcats->T('order_head_status'), 'key' => 'o_order_status', 'width' => 80, 'linked' => false, ], |
|
125 | + ['title' => $this->textcats->T('order_head_shipping_service'), 'key' => 'o_shipping_service', 'width' => 90, 'linked' => false, ], |
|
126 | + ['title' => $this->textcats->T('order_head_shipping_trackingno'), 'key' => 'o_shipping_trackingno', 'width' => 130, 'linked' => false, ], |
|
127 | 127 | [ |
128 | 128 | 'title' => $this->textcats->T('order_show'), |
129 | 129 | 'key' => 'o_id', |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | 'linked' => true, |
132 | 132 | 'ltarget' => '/_misc/myorders.html', |
133 | 133 | 'lkeyname' => 'id', |
134 | - 'lgetvars' => ['action' => 'show',], |
|
134 | + 'lgetvars' => ['action' => 'show', ], |
|
135 | 135 | ], |
136 | 136 | ]; |
137 | 137 |
@@ -42,24 +42,24 @@ |
||
42 | 42 | |
43 | 43 | header('Content-Type: text/html; charset=UTF-8'); |
44 | 44 | $return = '<div>'; |
45 | - $return .= '<div id="shippingcostbrutto_new">' . number_format($_SESSION['cartpricesums']['fVersandkostenbrutto'], |
|
45 | + $return .= '<div id="shippingcostbrutto_new">'.number_format($_SESSION['cartpricesums']['fVersandkostenbrutto'], |
|
46 | 46 | HelperConfig::$core['numberformat_decimals'], HelperConfig::$core['numberformat_decimal_point'], |
47 | - HelperConfig::$core['numberformat_thousands_seperator']) . '</div>'; |
|
48 | - $return .= '<div id="vatfull_new">' . number_format(round($_SESSION['cartpricesums']['fSteuervoll'], 2), |
|
47 | + HelperConfig::$core['numberformat_thousands_seperator']).'</div>'; |
|
48 | + $return .= '<div id="vatfull_new">'.number_format(round($_SESSION['cartpricesums']['fSteuervoll'], 2), |
|
49 | 49 | HelperConfig::$core['numberformat_decimals'], HelperConfig::$core['numberformat_decimal_point'], |
50 | - HelperConfig::$core['numberformat_thousands_seperator']) . '</div>'; |
|
51 | - $return .= '<div id="totalbrutto_new">' . number_format(round($_SESSION['cartpricesums']['fGesamtbrutto'], 2), |
|
50 | + HelperConfig::$core['numberformat_thousands_seperator']).'</div>'; |
|
51 | + $return .= '<div id="totalbrutto_new">'.number_format(round($_SESSION['cartpricesums']['fGesamtbrutto'], 2), |
|
52 | 52 | HelperConfig::$core['numberformat_decimals'], HelperConfig::$core['numberformat_decimal_point'], |
53 | - HelperConfig::$core['numberformat_thousands_seperator']) . '</div>'; |
|
54 | - $return .= '<div id="shippingcostnetto_new">' . number_format($_SESSION['cartpricesums']['fVersandkostennetto'], |
|
53 | + HelperConfig::$core['numberformat_thousands_seperator']).'</div>'; |
|
54 | + $return .= '<div id="shippingcostnetto_new">'.number_format($_SESSION['cartpricesums']['fVersandkostennetto'], |
|
55 | 55 | HelperConfig::$core['numberformat_decimals'], HelperConfig::$core['numberformat_decimal_point'], |
56 | - HelperConfig::$core['numberformat_thousands_seperator']) . '</div>'; |
|
57 | - $return .= '<div id="vatreduced_new">' . number_format(round($_SESSION['cartpricesums']['fSteuererm'], 2), |
|
56 | + HelperConfig::$core['numberformat_thousands_seperator']).'</div>'; |
|
57 | + $return .= '<div id="vatreduced_new">'.number_format(round($_SESSION['cartpricesums']['fSteuererm'], 2), |
|
58 | 58 | HelperConfig::$core['numberformat_decimals'], HelperConfig::$core['numberformat_decimal_point'], |
59 | - HelperConfig::$core['numberformat_thousands_seperator']) . '</div>'; |
|
60 | - $return .= '<div id="totalnetto_new">' . number_format(round($_SESSION['cartpricesums']['fGesamtnetto'], 2), |
|
59 | + HelperConfig::$core['numberformat_thousands_seperator']).'</div>'; |
|
60 | + $return .= '<div id="totalnetto_new">'.number_format(round($_SESSION['cartpricesums']['fGesamtnetto'], 2), |
|
61 | 61 | HelperConfig::$core['numberformat_decimals'], HelperConfig::$core['numberformat_decimal_point'], |
62 | - HelperConfig::$core['numberformat_thousands_seperator']) . '</div>'; |
|
62 | + HelperConfig::$core['numberformat_thousands_seperator']).'</div>'; |
|
63 | 63 | $return .= '</div>'; |
64 | 64 | die($return); |
65 | 65 | } |
@@ -32,7 +32,7 @@ |
||
32 | 32 | if (CHelper::getUserData()) { |
33 | 33 | $this->P->oPayload->cl_html = $this->serviceManager->get('textcats')->T('denied_default'); |
34 | 34 | } else { |
35 | - $sql = 'SELECT ' . DB_ADDRESSFIELDS . ', cust_emailverificationcode FROM customer'; |
|
35 | + $sql = 'SELECT '.DB_ADDRESSFIELDS.', cust_emailverificationcode FROM customer'; |
|
36 | 36 | $sql .= ' WHERE cust_email = :email AND cust_emailverified = \'n\''; |
37 | 37 | |
38 | 38 | /** @var \PDOStatement $hResult */ |
@@ -45,19 +45,19 @@ discard block |
||
45 | 45 | } else { |
46 | 46 | $mLogin = $this->getLogin(); |
47 | 47 | if (isset($mLogin['status']) && $mLogin['status'] === 'success') { |
48 | - $this->P->oPayload->cl_html = $textcats->T('login_success') . '<br>'; |
|
48 | + $this->P->oPayload->cl_html = $textcats->T('login_success').'<br>'; |
|
49 | 49 | header('Location: /_misc/userhome.html?login=true'); |
50 | 50 | die(); |
51 | 51 | } elseif (isset($mLogin['status']) && $mLogin['status'] === 'tosnotaccepted') { |
52 | - $this->P->oPayload->cl_html = $textcats->T('login_fail_tosnotaccepted') . '<br>'; |
|
52 | + $this->P->oPayload->cl_html = $textcats->T('login_fail_tosnotaccepted').'<br>'; |
|
53 | 53 | $this->P->cb_customcontenttemplate = 'customer/login'; |
54 | 54 | } elseif (isset($mLogin['status']) && $mLogin['status'] === 'emailnotverified') { |
55 | - $this->P->oPayload->cl_html = $textcats->T('login_fail_emailnotverified') . '<br><br>'; |
|
55 | + $this->P->oPayload->cl_html = $textcats->T('login_fail_emailnotverified').'<br><br>'; |
|
56 | 56 | $this->P->oPayload->cl_html .= '<a href="/_misc/resendverificationmail.html?email=' |
57 | - . $mLogin['data']['cust_email'] . '">' . $textcats->T('login_fail_emailnotverifiedresend') . '</a>'; |
|
57 | + . $mLogin['data']['cust_email'].'">'.$textcats->T('login_fail_emailnotverifiedresend').'</a>'; |
|
58 | 58 | $this->P->cb_customcontenttemplate = 'customer/login'; |
59 | 59 | } elseif (isset($mLogin['status']) && $mLogin['status'] === 'accountinactive') { |
60 | - $this->P->oPayload->cl_html = $textcats->T('login_fail_accountinactive') . '<br>'; |
|
60 | + $this->P->oPayload->cl_html = $textcats->T('login_fail_accountinactive').'<br>'; |
|
61 | 61 | $this->P->cb_customcontenttemplate = 'customer/login'; |
62 | 62 | } else { |
63 | 63 | $this->P->oPayload->cl_html = $textcats->T('login_fail'); |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | $hResult->execute(); |
112 | 112 | |
113 | 113 | $iRows = $hResult->rowCount(); |
114 | - if($iRows == 1) { |
|
114 | + if ($iRows == 1) { |
|
115 | 115 | $aRow = $hResult->fetch(); |
116 | 116 | |
117 | 117 | if (password_verify($_POST['password'], $aRow['cust_password'])) { |
@@ -121,9 +121,9 @@ discard block |
||
121 | 121 | } elseif ($aRow['cust_tosaccepted'] === 'n') { |
122 | 122 | return ['status' => 'tosnotaccepted']; |
123 | 123 | } elseif ($aRow['cust_emailverified'] === 'n') { |
124 | - return ['status' => 'emailnotverified', 'data' => $aRow,]; |
|
124 | + return ['status' => 'emailnotverified', 'data' => $aRow, ]; |
|
125 | 125 | } elseif ($aRow['cust_active'] === 'n') { |
126 | - return ['status' => 'accountinactive',]; |
|
126 | + return ['status' => 'accountinactive', ]; |
|
127 | 127 | } |
128 | 128 | } |
129 | 129 | } |
@@ -113,7 +113,7 @@ |
||
113 | 113 | $sTargetAddress = $aResult['cust_email']; |
114 | 114 | $sSubject = $this->textcats->T('forgotpw_mail_subject'); |
115 | 115 | $sMessage = $this->textcats->T('forgotpw_mail_text1'); |
116 | - $sMessage .= '<br><br>' .'<a href="http'.(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 's' : '').'://'; |
|
116 | + $sMessage .= '<br><br>'.'<a href="http'.(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 's' : '').'://'; |
|
117 | 117 | $sMessage .= $_SERVER['SERVER_NAME'].'/_misc/rp.html?key='.$sResetCode.'&email='.$sTargetAddress.'">'; |
118 | 118 | $sMessage .= 'http'.(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 's' : '').'://'; |
119 | 119 | $sMessage .= $_SERVER['SERVER_NAME'].'/_misc/rp.html?key='.$sResetCode.'&email='.$sTargetAddress.'</a>'; |
@@ -75,7 +75,7 @@ |
||
75 | 75 | /** @var \PDOStatement $hResult */ |
76 | 76 | $hResult = $this->db->prepare($sql); |
77 | 77 | foreach ($aData as $sKey => $sValue) { |
78 | - $hResult->bindValue(':' . $sKey, $sValue); |
|
78 | + $hResult->bindValue(':'.$sKey, $sValue); |
|
79 | 79 | } |
80 | 80 | $hResult->execute(); |
81 | 81 | $this->P->oPayload->cl_html = $this->textcats->T('register_emailverificationsuccess'); |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | $hResult->execute(); |
84 | 84 | $iRows = $hResult->rowCount(); |
85 | 85 | if ($iRows == 1) { |
86 | - $sErr .= $this->textcats->T('userprofile_emailalreadyinuse') . '<br>'; |
|
86 | + $sErr .= $this->textcats->T('userprofile_emailalreadyinuse').'<br>'; |
|
87 | 87 | } |
88 | 88 | $sErr = CHelper::validateCustomerForm(HelperConfig::$lang, $sErr, true); |
89 | 89 | |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | $sql = \HaaseIT\Toolbox\DBTools::buildPSUpdateQuery($aData, 'customer', 'cust_id'); |
113 | 113 | $hResult = $this->db->prepare($sql); |
114 | 114 | foreach ($aData as $sKey => $sValue) { |
115 | - $hResult->bindValue(':' . $sKey, $sValue); |
|
115 | + $hResult->bindValue(':'.$sKey, $sValue); |
|
116 | 116 | } |
117 | 117 | $hResult->execute(); |
118 | 118 | $aPData['infochangessaved'] = true; |