Pete fix ed the bug #427796

This commit is contained in:
Loïc Chapeaux
2001-05-30 20:13:03 +00:00
parent d602c2e511
commit 4d067f3a01
2 changed files with 4 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2001-05-30 Pete Kelly <webmaster@trafficg.com>
* db_readdump.php3, line 57: fixed the bug #427796
2001-05-28 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* lib.inc.php3, line 5: fixed a warning
* lib.inc.php3, main.php3, sql.php3, tbl_properties: options displayed with

View File

@@ -54,7 +54,7 @@ if($sql_query != "") {
$pieces = split_sql_file($sql_query,";");
if (count($pieces) == 1 && !empty($pieces[0]) && $view_bookmark == 0) {
$sql_query = addslashes(trim($pieces[0]));
$sql_query = trim($pieces[0]);
if (eregi('^CREATE TABLE (.+)', $sql_query)) $reload = "true";
include("./sql.php3");
exit;