projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
375f7bd
)
Don't log an error if the parent of a sidebar entry is inactive.
author
Jan Schneider
<jan@horde.org>
Tue, 28 Dec 2010 17:30:41 +0000
(18:30 +0100)
committer
Jan Schneider
<jan@horde.org>
Tue, 28 Dec 2010 17:30:41 +0000
(18:30 +0100)
framework/Core/lib/Horde/Core/Sidebar.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Core/Sidebar.php
b/framework/Core/lib/Horde/Core/Sidebar.php
index
7f90751
..
da830ff
100644
(file)
--- a/
framework/Core/lib/Horde/Core/Sidebar.php
+++ b/
framework/Core/lib/Horde/Core/Sidebar.php
@@
-131,7
+131,9
@@
class Horde_Core_Sidebar
try {
$registry->callAppMethod($params['app'], 'sidebarCreate', array('args' => array($tree, empty($params['menu_parent']) ? null : $params['menu_parent'], isset($params['sidebar_params']) ? $params['sidebar_params'] : array())));
} catch (Horde_Exception $e) {
- Horde::logMessage($e, 'ERR');
+ if ($e->getCode() != Horde_Registry::NOT_ACTIVE) {
+ Horde::logMessage($e, 'ERR');
+ }
}
break;