projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0afd447
)
Need to group this expression to avoid undefined index warnings.
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 7 Oct 2009 13:30:44 +0000
(09:30 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 7 Oct 2009 13:30:44 +0000
(09:30 -0400)
framework/Util/lib/Horde/Util.php
patch
|
blob
|
history
diff --git
a/framework/Util/lib/Horde/Util.php
b/framework/Util/lib/Horde/Util.php
index
2798d63
..
e07b9a3
100644
(file)
--- 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)
;
}
/**