diff options
| author | Ramūnas Bunokas <brunonas@gmail.com> | 2016-05-07 10:46:27 +0300 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2016-05-25 20:27:14 +0200 |
| commit | 85d5ae931e88fd9d9b34b17def1dd46f86ec4d3d (patch) | |
| tree | 3f09a85e2cbe3bb7b3ee524b27141e42eb1ca9dc | |
| parent | 12fe54df5b5e3363697aa8cffecfd6b85aded672 (diff) | |
| download | adodb-85d5ae931e88fd9d9b34b17def1dd46f86ec4d3d.tar.gz adodb-85d5ae931e88fd9d9b34b17def1dd46f86ec4d3d.tar.bz2 adodb-85d5ae931e88fd9d9b34b17def1dd46f86ec4d3d.zip | |
mysqli: fix #240 PHP notice in _close() method
| -rw-r--r-- | drivers/adodb-mysqli.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/adodb-mysqli.inc.php b/drivers/adodb-mysqli.inc.php index 82899ec0..af8e1758 100644 --- a/drivers/adodb-mysqli.inc.php +++ b/drivers/adodb-mysqli.inc.php @@ -1054,7 +1054,7 @@ class ADORecordSet_mysqli extends ADORecordSet{ //if results are attached to this pointer from Stored Proceedure calls, the next standard query will die 2014 //only a problem with persistant connections - if($this->connection->_connectionID) { + if(isset($this->connection->_connectionID) && $this->connection->_connectionID) { while(mysqli_more_results($this->connection->_connectionID)){ mysqli_next_result($this->connection->_connectionID); } |
