Query fix
This commit is contained in:
@@ -286,7 +286,7 @@ long WrenchUserJobsInterestList(CVars in, CVars &out) {
|
||||
" LEFT JOIN members mm ON mm.id = mo.member_id "
|
||||
" WHERE m.status = 1 AND m.client_id=0 "
|
||||
" AND m.expire IS NOT NULL AND m.expire> now() "
|
||||
" AND m.member_id = %lu ORDER BY mo.added DESC LIMIT %lu OFFSET %lu",member_id, limit, offset);
|
||||
" AND mo.member_id = %lu ORDER BY mo.added DESC LIMIT %lu OFFSET %lu",member_id, limit, offset);
|
||||
if (res != NULL && pgsql_num_rows(res) > 0) {
|
||||
|
||||
out["total_record"] = pgsql_num_rows(res);
|
||||
|
||||
Reference in New Issue
Block a user