promo actions
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user