diff --git a/env.example b/env similarity index 100% rename from env.example rename to env diff --git a/system/Database/MySQLi/Connection.php b/system/Database/MySQLi/Connection.php index a4d977004832..7fd0ebb00e65 100644 --- a/system/Database/MySQLi/Connection.php +++ b/system/Database/MySQLi/Connection.php @@ -300,6 +300,14 @@ public function getVersion() */ public function execute($sql) { + while($this->connID->more_results()) + { + $this->connID->next_result(); + if($res = $this->connID->store_result()) + { + $res->free(); + } + } return $this->connID->query($this->prepQuery($sql)); }