Fixed incorrect column names

This commit is contained in:
2020-10-15 11:28:59 +01:00
parent 572cb38e0f
commit b5c05732de
4 changed files with 9 additions and 9 deletions

View File

@@ -281,7 +281,7 @@ int modbUserList(stored_conn *sconn, modb_ref *modb, int with_deleted, int with_
struct user_t *user;
if (with_deleted == 0) {
wb = where(0, "deleted_on", IS_NULL, TYPE_RAW, 0, 0);
wb = where(0, "deleted", IS_NULL, TYPE_RAW, 0, 0);
}
res = doUsersQuery(sconn, modb, wb, users, n_users);
if (wb != 0) {