Skip to content

Commit

Permalink
Merge pull request joomla#628 from eddieajau/cmsfix
Browse files Browse the repository at this point in the history
Revert joomla#570
  • Loading branch information
robschley committed Dec 10, 2011
2 parents c5747a1 + 4bc1b76 commit 35c148f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/database/database/mysqli.php
Expand Up @@ -185,7 +185,7 @@ public static function test()
*/ */
public function connected() public function connected()
{ {
if (is_resource($this->connection)) if (is_object($this->connection))
{ {
return mysqli_ping($this->connection); return mysqli_ping($this->connection);
} }
Expand Down

0 comments on commit 35c148f

Please sign in to comment.