Switch out is_null()

This commit is contained in:
Graeme Tait 2015-09-21 17:00:20 +01:00
parent 1b33efaad3
commit dc856b8508

View file

@ -857,7 +857,7 @@ class DboSource extends DataSource {
* @return bool True if the database is connected, else false
*/
public function isConnected() {
if (is_null($this->_connection)) {
if ($this->_connection === null) {
$connected = false;
} else {
try {