mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
SQL error fix for subscribed list
git-svn-id: file:///svn/phpbb/trunk@5386 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -413,7 +413,7 @@ class ucp_main
|
||||
|
||||
$sql = "SELECT t.* $sql_f_select $sql_t_select
|
||||
FROM (" . TOPICS_TABLE . ' t, ' . TOPICS_WATCH_TABLE . " tw
|
||||
$sql_join
|
||||
$sql_join )
|
||||
WHERE tw.user_id = " . $user->data['user_id'] . '
|
||||
AND t.topic_id = tw.topic_id
|
||||
ORDER BY t.topic_last_post_time DESC';
|
||||
|
Reference in New Issue
Block a user