$sql_query wasn't defined if 'magic_quotes_gpc' was off.

This commit is contained in:
Loïc Chapeaux
2001-07-15 17:24:34 +00:00
parent 81d95fa3af
commit 58927fc182

View File

@@ -61,6 +61,8 @@ if (isset($btnLDI) && ($textfile != "none"))
if(get_magic_quotes_gpc()) {
$sql_query = addslashes($query);
} else {
$sql_query = $query;
}
include("./sql.php3");
}