summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/image.php2
1 files changed, 1 insertions, 1 deletions
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();
}
/**