mysqli::close() never called #2676

Closed
wants to merge 1 commit into
from
@@ -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);