summaryrefslogtreecommitdiffstats
path: root/lib/image.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-01-02 23:17:15 +0100
committerThomas Tanghus <thomas@tanghus.net>2012-01-02 23:17:15 +0100
commitb8cffbc0eec099e0fb7ffbb53e7fc1dc5bbc4035 (patch)
tree3eaf1186536a52c2768586e73b88e6051b6ef52c /lib/image.php
parent2a184631d12e4baf1a737d41438d13eb825c643b (diff)
downloadnextcloud-server-b8cffbc0eec099e0fb7ffbb53e7fc1dc5bbc4035.tar.gz
nextcloud-server-b8cffbc0eec099e0fb7ffbb53e7fc1dc5bbc4035.zip
OC_Image::__invoke didn't return anything thus causing contacts/thumbnail.php to spit out lots of error messages.
Diffstat (limited to 'lib/image.php')
-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();
}
/**