Details
-
Bug
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Invalid
-
3.0.x
-
None
-
None
-
PHP Environment: 5.2.5
Database: 5.0.51a
Description
General Error
SQL ERROR [ mysqli ]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 'AND user_id = 54' at line 4 [1064]
SQL
SELECT notify_status FROM forum_topics_watch WHERE topic_id = AND user_id = 54
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()FILE: includes/functions_display.php
LINE: 1003
CALL: dbal_mysqli->sql_query()FILE: viewtopic.php
LINE: 456
CALL: watch_topic_forum()
PS. I use phpBB version 3.0.1-RC1