includes/dbal.php
changeset 973 451141c834fe
parent 953 323c4cd1aa37
child 1081 745200a9cc2a
--- a/includes/dbal.php	Wed May 13 09:46:54 2009 -0400
+++ b/includes/dbal.php	Wed May 13 09:47:31 2009 -0400
@@ -232,7 +232,7 @@
     
     $this->debug = ( defined('ENANO_DEBUG') );
     
-    $q = $this->sql_query('USE `'.$dbname.'`;');
+    $q = @mysql_select_db($dbname);
     
     if ( !$q )
     {