From: Michael J. Rubinsky Date: Sat, 24 Apr 2010 21:59:07 +0000 (-0400) Subject: need to cast the theme objects too X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=088a323a9cbbb3c52f6c8feea42a1abe62ca85b2;p=horde.git need to cast the theme objects too --- diff --git a/framework/Tree/lib/Horde/Tree.php b/framework/Tree/lib/Horde/Tree.php index 3612d2881..e5e25e763 100644 --- 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;