Code

Fixed broken fetch() call on non existing resources.
[gosa.git] / include / class_pgsql_opengw.inc
index d3432226f7de549aaac8fbc52b6b2e9a70a6cbfb..3615bb4c69236d2340296cb29a1a10e11e1c135e 100644 (file)
@@ -26,7 +26,7 @@ class pgre_sql{
 
        function _connect()
        {
-               error_reporting(E_ALL);
+               error_reporting(E_ALL | E_STRICT);
                if(is_callable("pg_connect")){
                        if(!empty($this->pwd)){
                                $this->handle = @pg_connect("dbname=".$this->db." host=".$this->server." user=".$this->user);