Skip to content

Commit

Permalink
Merge branch 'master' of github.com:xtgxiso/WebWorker
Browse files Browse the repository at this point in the history
  • Loading branch information
xtgxiso committed Feb 10, 2017
2 parents 64029c1 + 3818ebe commit ee85ed1
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 @@ -45,7 +45,7 @@ public function query( $query,$resultmode=MYSQLI_STORE_RESULT ){
try {
return parent::query($query,$resultmode);
} catch (\mysqli_sql_exception $e) {
if ($e->getCode() == 2006 || $e->getCode == 2013) {
if ($e->getCode() == 2006 || $e->getCode() == 2013) {
$this->close();
$this->connect_db();
return parent::query($query,$resultmode);
Expand Down

0 comments on commit ee85ed1

Please sign in to comment.