Commit 8a2127c5 authored by Alexander Butenko's avatar Alexander Butenko

Silence warning on stored procedure call

parent c00c501c
...@@ -720,6 +720,9 @@ class MysqliDb ...@@ -720,6 +720,9 @@ class MysqliDb
$this->count++; $this->count++;
array_push($results, $x); array_push($results, $x);
} }
// stored procedures sometimes can return more then 1 resultset
if ($this->_mysqli->more_results())
$this->_mysqli->next_result();
if ($this->fetchTotalCount === true) { if ($this->fetchTotalCount === true) {
$this->fetchTotalCount = false; $this->fetchTotalCount = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment