concrete5/concrete5 — pull request #194 by christiaan (2011-11-14 11:15:44+00:00)
Title: When the getUserID return an empty string the queries fail and the page ...

...doesn't get rendered.

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 ')' at line 1] in EXECUTE("select max(canAdmin) as canAdmin, max(canSearch) as canSearch, max(canRead) as canRead, max(canWrite) as canWrite, max(canAdd) as canAdd from FileSetPermissions where fsID in (0) and (gID in (1) or uID = )")