PDA

View Full Version : [BUG] Adding ZIPed game with dodgey name


Pedro!
03-17-2007, 04:27 PM
I think this is a bug. I uploaded a bunch of ZIP compressed games and when I went ot the Add Game page I got this SQL error


mySQL query error: SELECT gid, gname FROM vBgames_list WHERE gname='Jason's Pong (Oblivion Knight)'

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 's Pong (Oblivion Knight)'' at line 1
mySQL error code:
Date: Saturday 17th of March 2007 11:16:46 AM


I presume it's because there is an apostrophy in the name and it's messing up the query.

The list or ZIPs stopped populating after the error.