aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Beddard <subblue@users.sourceforge.net>2005-12-28 00:57:08 +0000
committerTom Beddard <subblue@users.sourceforge.net>2005-12-28 00:57:08 +0000
commitf95262d9b91d5e69e0030542d19077c974a79c74 (patch)
treec473f1c5b7c18d9e43f76bb30c7974644b9ed902
parent8ad9a36d08d7a81e0bbfe45e56f75d40cb72384f (diff)
downloadforums-f95262d9b91d5e69e0030542d19077c974a79c74.tar
forums-f95262d9b91d5e69e0030542d19077c974a79c74.tar.gz
forums-f95262d9b91d5e69e0030542d19077c974a79c74.tar.bz2
forums-f95262d9b91d5e69e0030542d19077c974a79c74.tar.xz
forums-f95262d9b91d5e69e0030542d19077c974a79c74.zip
SQL error fix for subscribed list
git-svn-id: file:///svn/phpbb/trunk@5386 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/ucp/ucp_main.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_main.php b/phpBB/includes/ucp/ucp_main.php
index a1f9105e13..939e5c63df 100644
--- a/phpBB/includes/ucp/ucp_main.php
+++ b/phpBB/includes/ucp/ucp_main.php
@@ -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';