Fix bug in the CCA Policy mailing script which obscured its logging somewhat

and essentially defeated the restart mechanism based on the 'lastid' file.
pull/1/head
Wytze van der Raay 9 years ago
parent add8566161
commit ece0f2b8ee

@ -108,12 +108,12 @@ $count = 0;
$query = "
SELECT `fname`, `lname`, `email`
SELECT `id`, `fname`, `lname`, `email`
FROM `users`
WHERE `deleted` = '0000-00-00 00:00:00'
AND `modified` != '0000-00-00 00:00:00'
AND `verified` = '1'
AND `id` >= '$lastid'
ORDER BY `id`";
$res = mysql_query($query);

Loading…
Cancel
Save