Zenphoto Error

MySQL Query ( SELECT `id`, `album_theme` FROM `zp_albums` WHERE `folder`=""" ) failed. Error: 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

Backtrace:

   in query (functions-db.php [103])
     in query_single_row (i.php [218])
       in themeSetup (i.php [51])