Skip to content
Permalink
Browse files

Switch out is_null()

  • Loading branch information...
graemetait committed Sep 21, 2015
1 parent 1b33efa commit dc856b850865589f9810cf93bc12187902174bc9
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Datasource/DboSource.php
@@ -857,7 +857,7 @@ public function name($data) {
* @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 {

0 comments on commit dc856b8

Please sign in to comment.
You can’t perform that action at this time.