mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
- 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
This commit is contained in:
parent
c5a7c26693
commit
a52cff70d2
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue