diff --git a/db_readdump.php3 b/db_readdump.php3 index 32d2b4a76..c015294a0 100755 --- a/db_readdump.php3 +++ b/db_readdump.php3 @@ -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 diff --git a/mult_submits.inc.php3 b/mult_submits.inc.php3 index bc8adedb8..fd4611b70 100644 --- a/mult_submits.inc.php3 +++ b/mult_submits.inc.php3 @@ -103,13 +103,13 @@ else if ((get_magic_quotes_gpc() && stripslashes($btnDrop) == $strYes) case 'drop_db': $a_query = 'DROP DATABASE ' . backquote(urldecode($selected[$i])); - $reload = 'true'; + $reload = 1; break; case 'drop_tbl': $a_query = 'DROP TABLE ' . backquote(urldecode($selected[$i])); - $reload = 'true'; + $reload = 1; break; case 'empty_tbl': diff --git a/tbl_copy.php3 b/tbl_copy.php3 index 63c5836f5..3cd88849c 100755 --- a/tbl_copy.php3 +++ b/tbl_copy.php3 @@ -85,7 +85,7 @@ if (isset($new_name) && trim($new_name) != '') { } $message = sprintf($strCopyTableOK, $source, $target); - $reload = 'true'; + $reload = 1; } // end is target table name diff --git a/tbl_properties.inc.php3 b/tbl_properties.inc.php3 index a0f87f7e9..9ca4ef1e0 100755 --- a/tbl_properties.inc.php3 +++ b/tbl_properties.inc.php3 @@ -11,7 +11,7 @@ - +