Skip to content

Commit

Permalink
Update Mmysqli.php
Browse files Browse the repository at this point in the history
  • Loading branch information
xtgxiso authored Nov 9, 2017
1 parent fdf89c6 commit 277eafb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libs/Mmysqli.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function query($query,$param=''){
if ( in_array($e->getCode(),array(2006,2014))) {
$this->close();
$this->connect_db();
return $this->query($query,$param);
return new Mmysqli_stmt($this, $query,$param);
}
}
return false;
Expand Down

0 comments on commit 277eafb

Please sign in to comment.