Code:
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT gfpoforumoptions FROM vb_forum WHERE forumid =;
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 '' at line 1
Error Number : 1064
Date : Saturday, March 22nd 2008 @ 12:45:47 AM
Script : http://www.my-forum.com/usernote.php?u=205025
Referrer :
mean this code:
Code:
global $db, $isnotpost;
if ($isnotpost != 1)
{
$gfpo_query = $db->query_read("SELECT gfpoforumoptions FROM " . TABLE_PREFIX . "forum WHERE forumid = " . $thread['forumid'] . "");
$gfpo = $db->fetch_row($gfpo_query);
$gfpo = $gfpo[0];
}
should be modified to exclude User Notes?
plz check