fix query

This commit is contained in:
philipp 2023-11-20 23:44:08 +01:00
parent 4737663e8d
commit 2dd3885ba0

View File

@ -185,7 +185,7 @@ ORDER BY last_access DESC
"
SELECT id, name, pw, is_cox, is_admin, is_guest, deleted, last_access, is_tech, dob, weight, sex
FROM user
WHERE deleted = 0 AND dob is not null and weight is not null and sex is not null
WHERE deleted = 0 AND dob != '' and weight != '' and sex != ''
ORDER BY name
"
)