From: Michael J. Rubinsky Date: Wed, 10 Mar 2010 15:44:44 +0000 (-0500) Subject: [ansel] Fix getting url for images from the API X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0f098e720bdbb9871280dbca5a7760bcf35e9a22;p=horde.git [ansel] Fix getting url for images from the API --- diff --git a/ansel/lib/Api.php b/ansel/lib/Api.php index 73629bcec..552c1ea5c 100644 --- a/ansel/lib/Api.php +++ b/ansel/lib/Api.php @@ -601,7 +601,7 @@ class Ansel_Api extends Horde_Registry_Api $GLOBALS['ansel_storage'] = new Ansel_Storage($app); } - return Ansel::getImageUrl($image_id, $view, $full, $style); + return (string)Ansel::getImageUrl($image_id, $view, $full, $style); } /**