projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
674cc60
)
need to cast the theme objects too
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Sat, 24 Apr 2010 21:59:07 +0000
(17:59 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Sat, 24 Apr 2010 22:03:06 +0000
(18:03 -0400)
framework/Tree/lib/Horde/Tree.php
patch
|
blob
|
history
diff --git
a/framework/Tree/lib/Horde/Tree.php
b/framework/Tree/lib/Horde/Tree.php
index
3612d28
..
e5e25e7
100644
(file)
--- a/
framework/Tree/lib/Horde/Tree.php
+++ b/
framework/Tree/lib/Horde/Tree.php
@@
-423,7
+423,7
@@
class Horde_Tree
// Set only allowed and non-null params.
if (in_array($param_id, $allowed) && !is_null($param_val)) {
// Cast Horde_Url objects
- if ($param_id == 'url') {
+ if ($param_id == 'url'
|| $param_id == 'icondir'
) {
$param_val = (string)$param_val;
}
$this->_nodes[$id][$param_id] = $param_val;