]> git.llucax.com Git - mecon/yatta.git/commitdiff
BugFix en YATTA_DB
authorMartín Marrese <marrese@gmail.com>
Fri, 6 Feb 2004 19:59:32 +0000 (19:59 +0000)
committerMartín Marrese <marrese@gmail.com>
Fri, 6 Feb 2004 19:59:32 +0000 (19:59 +0000)
lib/YATTA/DB.php

index 4ef69e7ff64ff2e3d6e5ad3558f7681cb7ce68d3..f19bcb721ab268b15fef847110c6176aaee0a55e 100644 (file)
@@ -43,7 +43,7 @@ class YATTA_DB extends DB {
     function connect($CONF)
     {
         $dsn = $CONF['dsn'];
-        unset ($CONF['db']['dsn']);
+        unset ($CONF['dsn']);
         $db = DB::connect($dsn, $CONF);
         if (DB::isError($db)) {
              trigger_error($db->getMessage(), E_USER_ERROR);