From a52cff70d2dc4425763c4f60a04f909840b03c48 Mon Sep 17 00:00:00 2001 From: David M Date: Wed, 22 Mar 2006 00:45:58 +0000 Subject: [PATCH] - Bug 1144 - Bug 1199 - We can't free a result that was already free()'d! git-svn-id: file:///svn/phpbb/trunk@5684 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/ucp/ucp_main.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpBB/includes/ucp/ucp_main.php b/phpBB/includes/ucp/ucp_main.php index 3ee5d01eda..e65e7f1cc4 100644 --- a/phpBB/includes/ucp/ucp_main.php +++ b/phpBB/includes/ucp/ucp_main.php @@ -335,7 +335,7 @@ class ucp_main $sql = "SELECT t.* $sql_f_select $sql_t_select - FROM (" . TOPICS_TABLE . ' t, ' . TOPICS_WATCH_TABLE . " tw + 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 @@ -432,7 +432,6 @@ class ucp_main ); } - $db->sql_freeresult($result); break;