Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

mysqli::close() never called

instanceof condition using the wrong database API
  • Loading branch information...
commit 5ca72e23d95c83187d9a7d1978515b97af47ca48 1 parent 1d12f86
@JaredWilliams JaredWilliams authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  library/Zend/Db/Adapter/Driver/Mysqli/Connection.php
View
2  library/Zend/Db/Adapter/Driver/Mysqli/Connection.php
@@ -199,7 +199,7 @@ public function isConnected()
*/
public function disconnect()
{
- if ($this->resource instanceof \PDO) {
+ if ($this->resource instanceof \mysqli) {
$this->resource->close();
}
unset($this->resource);
Please sign in to comment.
Something went wrong with that request. Please try again.