diff --git a/include/functions.inc.php b/include/functions.inc.php index 25cce8b70..5debca5d3 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -655,6 +655,11 @@ function redirect( $url , $msg = '', $refresh_time = 0) */ function get_query_string_diff($rejects=array(), $escape=true) { + if (empty($_SERVER['QUERY_STRING'])) + { + return ''; + } + $query_string = ''; $str = $_SERVER['QUERY_STRING'];