Avoid a warning
This commit is contained in:
4
sql.php3
4
sql.php3
@@ -58,6 +58,10 @@ else {
|
|||||||
if(get_magic_quotes_gpc()) {
|
if(get_magic_quotes_gpc()) {
|
||||||
$sql_query = isset($sql_query) ? stripslashes($sql_query) : '';
|
$sql_query = isset($sql_query) ? stripslashes($sql_query) : '';
|
||||||
$sql_order = isset($sql_order) ? stripslashes($sql_order) : '';
|
$sql_order = isset($sql_order) ? stripslashes($sql_order) : '';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if (!isset($sql_query)) $sql_query = '';
|
||||||
|
if (!isset($sql_order)) $sql_order = '';
|
||||||
}
|
}
|
||||||
if(isset($sessionMaxRows))
|
if(isset($sessionMaxRows))
|
||||||
$cfgMaxRows = $sessionMaxRows;
|
$cfgMaxRows = $sessionMaxRows;
|
||||||
|
Reference in New Issue
Block a user