Database error: Invalid SQL: select id from photo WHERE `event` = && `boolComposite` = 0 && `active` = 1 && `boolFramedImage` = 0 ORDER BY id = '' DESC,`id` ASC
MySQL Error: 1064 (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '&& `boolComposite` = 0 && `active` = 1 && `boolFramedImage` = 0 ORDER BY id = ''' at line 1)
Session halted.