Avoid a warning

This commit is contained in:
Loïc Chapeaux
2001-05-19 21:36:45 +00:00
parent bda513743f
commit 50df8b6678

View File

@@ -58,6 +58,10 @@ else {
if(get_magic_quotes_gpc()) {
$sql_query = isset($sql_query) ? stripslashes($sql_query) : '';
$sql_order = isset($sql_order) ? stripslashes($sql_order) : '';
}
else {
if (!isset($sql_query)) $sql_query = '';
if (!isset($sql_order)) $sql_order = '';
}
if(isset($sessionMaxRows))
$cfgMaxRows = $sessionMaxRows;