Cast Horde_Url to string here
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 11 Mar 2010 23:47:22 +0000 (18:47 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 11 Mar 2010 23:47:42 +0000 (18:47 -0500)
framework/Ui/lib/Horde/Ui/VarRenderer/Html.php

index 51d0bf3..8d8dba4 100644 (file)
@@ -1132,7 +1132,7 @@ EOT;
                                                   'p' => $image['img']['vfs_path']));
         } else {
             /* Calling an image from a tmp directory (uploads). */
-            $img = Horde_Util::addParameter($img, 'f', $image['img']['file']);
+            $img = (string)Horde_Util::addParameter($img, 'f', $image['img']['file']);
         }
 
         return Horde::img($img, '', '', '');