[SQL QUERY FAILED] on /app/home.php at line 4599: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
[SQL QUERY]: SELECT * FROM `work_orders` WHERE `completed` = 0 AND `sent_for_review` = 0 AND `in_review` = 0 AND `user_id_assigned` =