summaryrefslogtreecommitdiff
path: root/scripts/send_policy_cca_20140916.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/send_policy_cca_20140916.php')
-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);