mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-03 04:55:36 +02:00
[ticket/12387] Fix a call to sql_freeresult in full_text_native
PHPBB3-12387
This commit is contained in:
parent
bc3659a186
commit
cc32ee8a28
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user