summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-09-24 21:43:32 +0200
committerBenny Baumann <BenBE@geshi.org>2014-09-24 21:44:17 +0200
commit621d53d01f38c023e4947f4bbe1d31d984809465 (patch)
treea148821b772556e2a62164f68272f8800bb11e1a /scripts
parent41d079de4a58d2d54b9ec884f4514da0097f0f03 (diff)
downloadcacert-devel-621d53d01f38c023e4947f4bbe1d31d984809465.tar.gz
cacert-devel-621d53d01f38c023e4947f4bbe1d31d984809465.tar.xz
cacert-devel-621d53d01f38c023e4947f4bbe1d31d984809465.zip
CCA-Mailing: bugfix for script continuation problem reported by Wytze
Diffstat (limited to 'scripts')
-rw-r--r--scripts/send_policy_cca_20140916.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/send_policy_cca_20140916.php b/scripts/send_policy_cca_20140916.php
index 6de5207..4d8cd66 100644
--- a/scripts/send_policy_cca_20140916.php
+++ b/scripts/send_policy_cca_20140916.php
@@ -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);