View Full Version : Gallery Title
December 10th, 2004, 01:24 AM
I tried to post in the bugs category but i have no permissions.
Anyways if you add a ' for example: player's
This will cause a DB error.
Sorry about adding to the pain Brian.
Thought I would throw it out there for you to put on the to do list.
December 10th, 2004, 06:29 AM
Hmm, I created a category with titel and description test'category, both from ACP and frontend - no error.
Where exactly did you get an error?
December 10th, 2004, 08:12 AM
This is for the main title for the Gallery, It may have been fixed in the updates yesterday, since I probably downloaded the first version. Will wait and see what Brian says. Did you try this on your main Gallery title?
December 10th, 2004, 08:25 AM
Now that I knew where to try I was able to reproduce the problem.
In vba_gallery_admin.php find
$DB_site->query("UPDATE " . TABLE_PREFIX . "adv_setting SET value = '$value' WHERE varname = '$varname'");
replace that with
$DB_site->query("UPDATE " . TABLE_PREFIX . "adv_setting SET value = '" . addslashes($value) . "' WHERE varname = '$varname'");
December 10th, 2004, 10:15 AM
Not going to do much for files changes now just helping get all the bugs out there for Brian to save him on the following updates.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.