Cast to string.
authorJan Schneider <jan@horde.org>
Thu, 3 Dec 2009 20:35:09 +0000 (21:35 +0100)
committerJan Schneider <jan@horde.org>
Thu, 3 Dec 2009 20:35:20 +0000 (21:35 +0100)
framework/Core/lib/Horde.php

index c7f8d34..6bdb01f 100644 (file)
@@ -2239,7 +2239,7 @@ HTML;
         $params = new stdClass;
         $pos = strpos($url, '?');
         if ($pos === false) {
-            $params->url = $url;
+            $params->url = (string)$url;
         } else {
             $params->url = substr($url, 0, $pos);
             parse_str(substr($url, $pos + 1), $parsed);