AND payment_id IS NOT NULL
This commit is contained in:
@@ -165,6 +165,7 @@ long ProcessExpiredOffers(CVars in, CVars &out){
|
|||||||
" WHERE expire< now() "
|
" WHERE expire< now() "
|
||||||
" AND status = 1 "
|
" AND status = 1 "
|
||||||
" AND refund_auto IS NULL "
|
" AND refund_auto IS NULL "
|
||||||
|
" AND payment_id IS NOT NULL "
|
||||||
" ORDER BY id ASC LIMIT 10");
|
" ORDER BY id ASC LIMIT 10");
|
||||||
|
|
||||||
if (res != NULL && pgsql_num_rows(res) > 0) {
|
if (res != NULL && pgsql_num_rows(res) > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user