Forums / Bug Reports / DELETE CUSTOMER (Confirm) Error on execute0

DELETE CUSTOMER (Confirm) Error on execute0

Views: 799

Results 1 to 1 of 1
7 Jan 2017, 9:09 PM
#1
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

DELETE CUSTOMER (Confirm) Error on execute0

Please see my post here:- https://www.zen-cart.com/showthread.php?221670-Error-when-confirming-delete-customer&p=1324122#post1324122

In the admin/customers.php file - around lines 402 - 404 there is an incorrect field label for the TABLE_PRODUCTS_NOTIFICATIONS value.

$db->Execute("delete from " . TABLE_PRODUCTS_NOTIFICATIONS . " where customers_id = " . $customer_id);

Should be...

$db->Execute("delete from " . TABLE_PRODUCTS_NOTIFICATIONS . " where customers_id = " . $customers_id);

The line does not exist in 1.5.5b .

20 years a Zencart User