promo actions

This commit is contained in:
CHIEFSOFT\ameye
2024-11-24 18:07:50 -05:00
parent f801da3702
commit 27ff4f797e
+1 -1
View File
@@ -91,7 +91,7 @@ long WrenchPromoActionList( CVars in, CVars &out )
res = pgsql_query("SELECT count(id) FROM promo_actions WHERE admin_id = %lu", admin_id);
out["sum_total_record"] = pgsql_num_rows(res);
res = pgsql_query("SELECT * FROM promo_member"
res = pgsql_query("SELECT * FROM promo_actions"
" WHERE admin_id = %lu ORDER BY id DESC LIMIT %lu OFFSET %lu ",admin_id,limit,offset);
if (res != NULL && pgsql_num_rows(res) > 0) {