projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5428592
)
Don't throw a warning if the global doesn't exist
author
Chuck Hagenbuch
<chuck@horde.org>
Thu, 21 Oct 2010 19:23:46 +0000
(15:23 -0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Thu, 21 Oct 2010 19:23:46 +0000
(15:23 -0400)
framework/Core/lib/Horde/Core/Browser.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Core/Browser.php
b/framework/Core/lib/Horde/Core/Browser.php
index
d96cb3d
..
5601a08
100644
(file)
--- a/
framework/Core/lib/Horde/Core/Browser.php
+++ b/
framework/Core/lib/Horde/Core/Browser.php
@@
-70,7
+70,10
@@
class Horde_Core_Browser extends Horde_Browser
*/
public function getIEVersion()
{
- return $GLOBALS['session']['horde:ie_version'];
+ if (isset($GLOBALS['session']['horde:ie_version'])) {
+ return $GLOBALS['session']['horde:ie_version'];
+ } else {
+ return null;
+ }
}
-
}