From 499e40f593f5a28177ff9966902d508c46e67d93 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Fri, 19 Nov 2010 13:07:09 -0500 Subject: [PATCH] Make sure we're returning a string in __toString --- framework/Core/lib/Horde/Themes/Element.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /** -- 2.11.0