It sounds like the query_builder didn't get updated.
Try putting this in from your sql patches page:
(remember to add your db prefix to the query_builder bit if you have one):
Code:
UPDATE query_builder SET
query_name='Customer Account Newsletter Subscribers',
query_description='Returns name and email address of newsletter subscribers who have a customer account.'
WHERE query_string='select customers_firstname, customers_lastname, customers_email_address from TABLE_CUSTOMERS where customers_newsletter = \'1\'';
INSERT INTO query_builder
(query_category, query_name, query_description, query_string, query_keys_list)
VALUES ('email,newsletters', 'Newsletter Subscribers',
'Returns name and email address of all Customer Account subscribers and all Newsletter-Only subscribers.',
'select c.customers_firstname, c.customers_lastname, s.email_address as customers_email_address from TABLE_SUBSCRIBERS as s left join TABLE_CUSTOMERS as c on c.customers_id = s.customers_id ', '');
Note that I purposely changed the name of the new query, removing the 'All' bit just in case the query is already in there.
I'm still a few hours out from the next update-doesn't look like I'll make it tonight, so try that solution.
-Ng_
Bookmarks