
Originally Posted by
studiogrynn
Does not support table prefixes. Uses only zenDB.customers and failes with a zenDB.prefix_customers convention.
Find in admin/passchange.php:
PHP Code:
$action = (isset($_GET['action']) ? $_GET['action'] : '');
Below it add:
PHP Code:
$passchangeCust = (DB_PREFIX.'customers');
Change (what is now around line 34) from
PHP Code:
$db->Execute("UPDATE customers
To:
PHP Code:
$db->Execute("UPDATE $passchangeCust
And change (approx line 94)
PHP Code:
$passchange_query_raw = "select customers_id, customers_lastname, customers_firstname, customers_email_address from customers order by customers_id";
To read:
PHP Code:
$passchange_query_raw = "select customers_id, customers_lastname, customers_firstname, customers_email_address from $passchangeCust order by customers_id";
I have tested this only on my installation. Your experience may vary.
Bookmarks