aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 7012db248..90be091f0 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'];