remove one card conditoon for now
This commit is contained in:
@@ -540,7 +540,7 @@ long WrenchRequestVirtualCard(CVars in, CVars &out) {
|
||||
long dob_month = REQ_LONG(in, "dob_month", 1, -1);
|
||||
long dob_year = REQ_LONG(in, "dob_year", 1, -1);
|
||||
|
||||
const PGresult *res = pgsql_query("SELECT id AS request_id FROM members_card_request WHERE member_id=%lu", member_id);
|
||||
const PGresult *res = pgsql_query("SELECT id AS request_id FROM members_card_request WHERE member_id=%lu AND status=1000", member_id);
|
||||
if (res != NULL && pgsql_num_rows(res) > 0) {
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user