PDA

View Full Version : Newsletter Unsubscribe



michael_s
11-27-2007, 04:11 PM
Tested this contrib and found a small error in unsubscribe_done.php

Find:
if ($cus_subscribe) {
// Unsubscribe them
tep_db_query("update " . TABLE_CUSTOMERS . " set customers_newsletter = '0' where customers_email_address = '" . $email_to_unsubscribe . "'");

Add just below:

?>