sql syntax bug
Status: Beta
Brought to you by:
legolas88
At line 158 in includes/reactions.php
the sql query is bad.
" . dbEscapeString($email) . "''
should be
'" . dbEscapeString($email) . "'
fixed query:
$query = "INSERT INTO " . dbTable("reactions") . "
(reaction_project_id,reaction_poster_id,reaction_poster_name,reaction_poster_email,reaction_contents,reaction_date)
VALUES ('" . $pid . "',0,'" . dbEscapeString($name) .
"','" . dbEscapeString($email) . "','" .
dbEscapeString($contents) . "',NOW())";
this small bug causes users to unable to post reactions
while not logged in.
Cheers
//Wizera