From 0f098e720bdbb9871280dbca5a7760bcf35e9a22 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 10 Mar 2010 10:44:44 -0500 Subject: [PATCH] [ansel] Fix getting url for images from the API --- ansel/lib/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /** -- 2.11.0