remove one card conditoon for now

This commit is contained in:
CHIEFSOFT\ameye
2024-10-20 15:19:34 -04:00
parent 272e9ffd39
commit e8b9d49b75
+1 -1
View File
@@ -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 {