Query failed - MySQL error no.: 1064
- MySQL 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 '-1, 0' at line 1
- SQL: SELECT `picID` FROM `derby_gallery_pictures` WHERE `galleryID` = 3 LIMIT -1, 0
index.php(308): include('gallery.php')
gallery.php(801): randomPic('3')
src/func/gallery.php(162): safe_query('SELECT `picID` FROM `derby_gallery_pictures` WHERE `galleryID` = 3 LIMIT -1, 0')