diff options
| author | David M <davidmj@users.sourceforge.net> | 2006-04-22 18:42:27 +0000 |
|---|---|---|
| committer | David M <davidmj@users.sourceforge.net> | 2006-04-22 18:42:27 +0000 |
| commit | 67c580e14861de94d79a07b57ad13f1475961806 (patch) | |
| tree | 677f67943f37c0ba80dc8f656941d7c6b92c5e21 /phpBB/includes/ucp/ucp_main.php | |
| parent | 2b23fb6a1f341eaec55be932f9f92e954fb0b43e (diff) | |
| download | forums-67c580e14861de94d79a07b57ad13f1475961806.tar forums-67c580e14861de94d79a07b57ad13f1475961806.tar.gz forums-67c580e14861de94d79a07b57ad13f1475961806.tar.bz2 forums-67c580e14861de94d79a07b57ad13f1475961806.tar.xz forums-67c580e14861de94d79a07b57ad13f1475961806.zip | |
- Bug #1185
git-svn-id: file:///svn/phpbb/trunk@5831 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_main.php')
| -rw-r--r-- | phpBB/includes/ucp/ucp_main.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_main.php b/phpBB/includes/ucp/ucp_main.php index c5b96ce7b6..7959e656de 100644 --- a/phpBB/includes/ucp/ucp_main.php +++ b/phpBB/includes/ucp/ucp_main.php @@ -335,8 +335,8 @@ class ucp_main $sql = "SELECT t.* $sql_f_select $sql_t_select - FROM (" . TOPICS_WATCH_TABLE . ' tw, ' . TOPICS_TABLE . " t - $sql_join ) + FROM (" . TOPICS_WATCH_TABLE . ' tw, ' . TOPICS_TABLE . " t) + $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'; |
