diff --git a/ChangeLog b/ChangeLog index 6d317e1a1..39c03d876 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2001-05-30 Pete Kelly + * db_readdump.php3, line 57: fixed the bug #427796 + 2001-05-28 Loïc Chapeaux * lib.inc.php3, line 5: fixed a warning * lib.inc.php3, main.php3, sql.php3, tbl_properties: options displayed with diff --git a/db_readdump.php3 b/db_readdump.php3 index a7db8dc15..8bc784c7a 100755 --- a/db_readdump.php3 +++ b/db_readdump.php3 @@ -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;