$sql_query wasn't defined if 'magic_quotes_gpc' was off.
This commit is contained in:
@@ -61,6 +61,8 @@ if (isset($btnLDI) && ($textfile != "none"))
|
|||||||
|
|
||||||
if(get_magic_quotes_gpc()) {
|
if(get_magic_quotes_gpc()) {
|
||||||
$sql_query = addslashes($query);
|
$sql_query = addslashes($query);
|
||||||
|
} else {
|
||||||
|
$sql_query = $query;
|
||||||
}
|
}
|
||||||
include("./sql.php3");
|
include("./sql.php3");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user