Job message
This commit is contained in:
@@ -242,7 +242,7 @@ long cron_email(long mailtype, CVars in, CVars &out) {
|
||||
" LEFT JOIN currency cc ON cc.country = mj.country "
|
||||
" LEFT JOIN members m ON m.id=mc.client_id "
|
||||
"WHERE mc.member_id = %lu AND mc.status IN (1,2) "
|
||||
" AND delivery_date < now() ", in["member_id"].Long());
|
||||
" AND mc.delivery_date < now() ORDER BY mc.delivery_date DESC LIMIT 8", in["member_id"].Long());
|
||||
|
||||
|
||||
if (res != NULL && pgsql_num_rows(res) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user