projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3a3a8b
)
if appConfig ends up empty, make sure it's an empty array before doing array things...
author
Chuck Hagenbuch
<chuck@horde.org>
Tue, 14 Jul 2009 20:35:55 +0000
(16:35 -0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Tue, 14 Jul 2009 20:35:55 +0000
(16:35 -0400)
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
275b608
..
eb227c6
100644
(file)
--- a/
framework/Core/lib/Horde/Registry.php
+++ b/
framework/Core/lib/Horde/Registry.php
@@
-896,6
+896,9
@@
class Horde_Registry
{
if (($app != 'horde') && !$this->_loadCacheVar('conf-' . $app)) {
$appConfig = Horde::loadConfiguration('conf.php', 'conf', $app);
+ if (empty($appConfig)) {
+ $appConfig = array();
+ }
$this->_cache['conf-' . $app] = Horde_Array::array_merge_recursive_overwrite($this->_cache['conf-horde'], $appConfig);
$this->_saveCacheVar('conf-' . $app);
}