From 4d067f3a011a69e1938d38f9b8cf137bc1d572b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Wed, 30 May 2001 20:13:03 +0000 Subject: [PATCH] Pete fix ed the bug #427796 --- ChangeLog | 3 +++ db_readdump.php3 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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;