Fixed an other slashes bug
This commit is contained in:
@@ -288,11 +288,20 @@ $url_query = 'lang=' . $lang
|
||||
. '&server=' . urlencode($server)
|
||||
. '&db=' . urlencode($db)
|
||||
. '&goto=db_details.php3';
|
||||
if (isset($show_query)) {
|
||||
if (get_magic_quotes_gpc()) {
|
||||
$sql_query = stripslashes($sql_query);
|
||||
if (isset($show_query) && $show_query == 'y') {
|
||||
// This script has been called by db_readdump.php3
|
||||
if (isset($sql_query_cpy)) {
|
||||
$query_to_display = $sql_query_cpy;
|
||||
}
|
||||
$query_to_display = (($show_query == 'y') ? $sql_query : '');
|
||||
// Other cases
|
||||
else if (get_magic_quotes_gpc()) {
|
||||
$query_to_display = stripslashes($sql_query);
|
||||
}
|
||||
else {
|
||||
$query_to_display = $sql_query;
|
||||
}
|
||||
} else {
|
||||
$query_to_display = '';
|
||||
}
|
||||
?>
|
||||
<!-- DATABASE WORK -->
|
||||
|
Reference in New Issue
Block a user