From: Michael M Slusarz Date: Fri, 30 Jul 2010 08:19:59 +0000 (-0600) Subject: Make sure this always returns a string (URL could be completely empty) X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7b29d0dee20d34183408eea0d44e14dec822d9f1;p=horde.git Make sure this always returns a string (URL could be completely empty) --- diff --git a/framework/Url/lib/Horde/Url.php b/framework/Url/lib/Horde/Url.php index 8b2d8d514..84640fe90 100644 --- a/framework/Url/lib/Horde/Url.php +++ b/framework/Url/lib/Horde/Url.php @@ -255,7 +255,7 @@ class Horde_Url $url .= '#' . rawurlencode($this->anchor); } - return $url; + return strval($url); } /**