Index: trunk/core/kernel/db/db_connection.php =================================================================== diff -u -N -r7991 -r8008 --- trunk/core/kernel/db/db_connection.php (.../db_connection.php) (revision 7991) +++ trunk/core/kernel/db/db_connection.php (.../db_connection.php) (revision 8008) @@ -248,7 +248,7 @@ { if (!$this->connectionID) return false; $func = $this->getMetaFunction('select_db'); - return $func($new_name); + return $func($new_name, $this->connectionID); } /**