projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0d3fec
)
Fix fatal error when a session has timed out
author
Chuck Hagenbuch
<chuck@horde.org>
Fri, 24 Dec 2010 21:43:09 +0000
(16:43 -0500)
committer
Chuck Hagenbuch
<chuck@horde.org>
Fri, 24 Dec 2010 21:43:09 +0000
(16:43 -0500)
framework/Core/lib/Horde/Registry.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Registry.php
b/framework/Core/lib/Horde/Registry.php
index
3c641e7
..
5b34556
100644
(file)
--- a/
framework/Core/lib/Horde/Registry.php
+++ b/
framework/Core/lib/Horde/Registry.php
@@
-2142,7
+2142,7
@@
class Horde_Registry
*/
public function getEmailCharset()
{
- if (
$charset = $GLOBALS['prefs']->getValue('sending_charset'
)) {
+ if (
isset($GLOBALS['prefs']) && ($charset = $GLOBALS['prefs']->getValue('sending_charset')
)) {
return $charset;
}