From 259bcea88cb3fd8c1bfcb5f21e3309e2447fd349 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 7 Oct 2009 09:30:44 -0400 Subject: [PATCH] Need to group this expression to avoid undefined index warnings. --- framework/Util/lib/Horde/Util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Util/lib/Horde/Util.php b/framework/Util/lib/Horde/Util.php index 2798d6319..e07b9a3cc 100644 --- a/framework/Util/lib/Horde/Util.php +++ b/framework/Util/lib/Horde/Util.php @@ -209,7 +209,7 @@ class Horde_Util { return (isset($_GET[$varname]) || isset($_POST[$varname]) || isset($_COOKIE[$varname])) ? $default - : isset($GLOBALS[$varname]) ? $GLOBALS[$varname] : $default; + : (isset($GLOBALS[$varname]) ? $GLOBALS[$varname] : $default); } /** -- 2.11.0