Quote:
Originally Posted by cravendale
Hi,
The code you mentioned to change was already correct in my existing raffles.php file....
Code:
else
{
$oldentryopt = "WHERE enddate > $timenow";
}
$getraffle = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "raffle
WHERE startdate <= $timenow
$oldentryopt
ORDER BY id DESC
I've just checked the " turn off Show Raffles Already Drawn in raffle settings" and it's already turned off and was never on at the point this error was generated.
|
It is NOT correct. The part I highlight in red and is bold should be AND, not WHERE