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

@@ -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;