]> source.dussan.org Git - nextcloud-server.git/commitdiff
OC_Image::__invoke didn't return anything thus causing contacts/thumbnail.php to...
authorThomas Tanghus <thomas@tanghus.net>
Mon, 2 Jan 2012 22:17:15 +0000 (23:17 +0100)
committerThomas Tanghus <thomas@tanghus.net>
Mon, 2 Jan 2012 22:17:15 +0000 (23:17 +0100)
lib/image.php

index b797f331f452277bf475ffd980e16aa3034e6c72..e09486be0817e9b22105876f8d9ebe80d146b20a 100644 (file)
@@ -178,7 +178,7 @@ class OC_Image {
        * @brief Prints the image when called as $image().
        */
        public function __invoke() {
-               self::show();
+               return self::show();
        }
 
        /**