create static method in BriskDB function to allow constructor fail and manage of...
[brisk.git] / web / Obj / dbase_pgsql.phh
index c3643bb..f4aa819 100644 (file)
@@ -52,7 +52,7 @@ class DBConn
 
         if (DBConn::$dbcnnx == FALSE) {
             if (!(DBConn::$dbcnnx = @pg_connect ($G_dbauth))) {
-                return FALSE;
+                return ($ret);
             }
         }