From b8cffbc0eec099e0fb7ffbb53e7fc1dc5bbc4035 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Mon, 2 Jan 2012 23:17:15 +0100 Subject: [PATCH] OC_Image::__invoke didn't return anything thus causing contacts/thumbnail.php to spit out lots of error messages. --- lib/image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/image.php b/lib/image.php index b797f331f45..e09486be081 100644 --- a/lib/image.php +++ b/lib/image.php @@ -178,7 +178,7 @@ class OC_Image { * @brief Prints the image when called as $image(). */ public function __invoke() { - self::show(); + return self::show(); } /** -- 2.39.5