Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

mysqli::close() never called #2676

Closed
wants to merge 1 commit into from

2 participants

@JaredWilliams

instanceof condition using the wrong database API

@JaredWilliams JaredWilliams mysqli::close() never called
instanceof condition using the wrong database API
5ca72e2
@ralphschindler
Collaborator

I believe this was also altered in commit 8eff238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 4, 2012
  1. @JaredWilliams

    mysqli::close() never called

    JaredWilliams authored
    instanceof condition using the wrong database API
This page is out of date. Refresh to see the latest.
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);
Something went wrong with that request. Please try again.