Skip to content

Commit 493c188

Browse files
committed
Preparation for static mysqli
1 parent a8b8c8d commit 493c188

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MysqliDb.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public function connect()
188188
or die('There was a problem connecting to the database');
189189

190190
if ($this->charset)
191-
$this->mysqli()->set_charset ($this->charset);
191+
$this->_mysqli->set_charset ($this->charset);
192192
}
193193

194194
/**
@@ -1098,7 +1098,7 @@ public function __destruct()
10981098
if (!$this->isSubQuery)
10991099
return;
11001100
if ($this->_mysqli)
1101-
$this->mysqli()->close();
1101+
$this->_mysqli->close();
11021102
}
11031103

11041104
/**

0 commit comments

Comments
 (0)