From: Chuck Hagenbuch Date: Fri, 19 Nov 2010 18:07:09 +0000 (-0500) Subject: Make sure we're returning a string in __toString X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=499e40f593f5a28177ff9966902d508c46e67d93;p=horde.git Make sure we're returning a string in __toString --- diff --git a/framework/Core/lib/Horde/Themes/Element.php b/framework/Core/lib/Horde/Themes/Element.php index 0b3293422..c087e62ae 100644 --- a/framework/Core/lib/Horde/Themes/Element.php +++ b/framework/Core/lib/Horde/Themes/Element.php @@ -90,7 +90,7 @@ class Horde_Themes_Element */ public function __toString() { - return $this->uri; + return (string)$this->uri; } /**