From 084b73acb82992fae5402a33ded43458add1d355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 24 Jun 2004 13:09:47 +0000 Subject: oh, fogot to change one piece of code --- read_dump.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'read_dump.php') diff --git a/read_dump.php b/read_dump.php index a7a27e2eac..9caa6934fe 100644 --- a/read_dump.php +++ b/read_dump.php @@ -238,8 +238,8 @@ if ($sql_query != '') { // really run the query? if ($view_bookmark == 0) { // Only one query to run - if ($pieces_count == 1 && !empty($pieces[0])) { - $sql_query = $pieces[0]; + if ($pieces_count == 1 && !empty($pieces[0]['query'])) { + $sql_query = $pieces[0]['query']; if (preg_match('@^(DROP|CREATE)[[:space:]]+(IF EXISTS[[:space:]]+)?(TABLE|DATABASE)[[:space:]]+(.+)@i', $sql_query)) { $reload = 1; } -- cgit v1.2.3