$reload has now true boolean values

This commit is contained in:
Loïc Chapeaux
2001-09-07 19:42:41 +00:00
parent aa02f1eb70
commit 0ac430fd27
4 changed files with 6 additions and 6 deletions

View File

@@ -107,7 +107,7 @@ if ($sql_query != '') {
$sql_query = addslashes($sql_query);
}
if (eregi('^(DROP|CREATE)[[:space:]]+(IF EXISTS[[:space:]]+)?(TABLE|DATABASE)[[:space:]]+(.+)', $sql_query)) {
$reload = 'true';
$reload = 1;
}
include('./sql.php3');
exit();
@@ -125,7 +125,7 @@ if ($sql_query != '') {
}
}
if (!isset($reload) && eregi('^(DROP|CREATE)[[:space:]]+(IF EXISTS[[:space:]]+)?(TABLE|DATABASE)[[:space:]]+(.+)', $a_sql_query)) {
$reload = 'true';
$reload = 1;
}
} // end for
} // end else if