diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2014-06-23 00:31:56 +0200 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-23 00:31:56 +0200 |
| commit | cc32ee8a2848b902f7dc9d809499855a78cb41f4 (patch) | |
| tree | 7f8914b0501041b7940d73d8480d7eeb924b99c0 /phpBB/phpbb | |
| parent | bc3659a1861597b8edd5b9b3789260b93ac3f121 (diff) | |
| download | forums-cc32ee8a2848b902f7dc9d809499855a78cb41f4.tar forums-cc32ee8a2848b902f7dc9d809499855a78cb41f4.tar.gz forums-cc32ee8a2848b902f7dc9d809499855a78cb41f4.tar.bz2 forums-cc32ee8a2848b902f7dc9d809499855a78cb41f4.tar.xz forums-cc32ee8a2848b902f7dc9d809499855a78cb41f4.zip | |
[ticket/12387] Fix a call to sql_freeresult in full_text_native
PHPBB3-12387
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/search/fulltext_native.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/search/fulltext_native.php b/phpBB/phpbb/search/fulltext_native.php index f7b1751a51..8d97916ec5 100644 --- a/phpBB/phpbb/search/fulltext_native.php +++ b/phpBB/phpbb/search/fulltext_native.php @@ -848,7 +848,7 @@ class fulltext_native extends \phpbb\search\base $sql_calc = $this->db->sql_build_query('SELECT', $sql_array_copy); unset($sql_array_copy); - $this->db->sql_query($sql_calc); + $result = $this->db->sql_query($sql_calc); $this->db->sql_freeresult($result); $sql_count = 'SELECT FOUND_ROWS() as total_results'; |
