diff --git a/code/libraries/koowa/database/adapter/mysqli.php b/code/libraries/koowa/database/adapter/mysqli.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/database/adapter/mysqli.php
+++ b/code/libraries/koowa/database/adapter/mysqli.php
@@ -168,8 +168,8 @@ class KDatabaseAdapterMysqli extends KDatabaseAdapterAbstract
 	 * @return boolean
 	 */
 	public function active() 
-	{
-		return is_resource($this->_connection) && $this->_connection->ping();
+	{		
+		return is_object($this->_connection) && @$this->_connection->ping();
 	}
 	
 	/**
Supress errors generated by ping method.