AND payment_id IS NOT NULL

This commit is contained in:
CHIEFSOFT\ameye
2024-09-23 06:40:55 -04:00
parent cb51328207
commit fed49366a5
@@ -165,6 +165,7 @@ long ProcessExpiredOffers(CVars in, CVars &out){
" WHERE expire< now() "
" AND status = 1 "
" AND refund_auto IS NULL "
" AND payment_id IS NOT NULL "
" ORDER BY id ASC LIMIT 10");
if (res != NULL && pgsql_num_rows(res) > 0) {