This commit is contained in:
Alexander M. Turek
2002-08-17 07:13:41 +00:00
parent 71bf735d35
commit c40a779212
2 changed files with 4 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2002-08-17 Alexander M. Turek <rabus@users.sourceforge.net>
* main.php3: Fixed bug #596019 (Undefined variable $re).
2002-08-15 Marc Delisle <lem9@users.sourceforge.net>
* config.inc.php3, tbl_query_box.php3, db_details.php3, Documentation.html:
new $cfg['TextareaAutoSelect'] (Bug 582637)

View File

@@ -230,7 +230,7 @@ if ($server > 0) {
$db_to_create = '';
break;
} // end if
else if (ereg($re . '%|_', $show_grants_dbname) || !PMA_mysql_select_db($show_grants_dbname, $userlink) && @mysql_errno() != 1044) {
else if (ereg($re0 . '%|_', $show_grants_dbname) || !PMA_mysql_select_db($show_grants_dbname, $userlink) && @mysql_errno() != 1044) {
$db_to_create = ereg_replace($re0 . '%', '\\1...', ereg_replace($re0 . '_', '\\1?', $show_grants_dbname));
$db_to_create = ereg_replace($re1 . '(%|_)', '\\1\\3', $db_to_create);
$is_create_priv = TRUE;