mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
- Bug #1185
git-svn-id: file:///svn/phpbb/trunk@5831 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2b23fb6a1f
commit
67c580e148
1 changed files with 2 additions and 2 deletions
|
@ -335,8 +335,8 @@ class ucp_main
|
||||||
|
|
||||||
|
|
||||||
$sql = "SELECT t.* $sql_f_select $sql_t_select
|
$sql = "SELECT t.* $sql_f_select $sql_t_select
|
||||||
FROM (" . TOPICS_WATCH_TABLE . ' tw, ' . TOPICS_TABLE . " t
|
FROM (" . TOPICS_WATCH_TABLE . ' tw, ' . TOPICS_TABLE . " t)
|
||||||
$sql_join )
|
$sql_join
|
||||||
WHERE tw.user_id = " . $user->data['user_id'] . '
|
WHERE tw.user_id = " . $user->data['user_id'] . '
|
||||||
AND t.topic_id = tw.topic_id
|
AND t.topic_id = tw.topic_id
|
||||||
ORDER BY t.topic_last_post_time DESC';
|
ORDER BY t.topic_last_post_time DESC';
|
||||||
|
|
Loading…
Add table
Reference in a new issue