diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-01-02 23:17:15 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-01-02 23:17:15 +0100 |
commit | b8cffbc0eec099e0fb7ffbb53e7fc1dc5bbc4035 (patch) | |
tree | 3eaf1186536a52c2768586e73b88e6051b6ef52c /lib/image.php | |
parent | 2a184631d12e4baf1a737d41438d13eb825c643b (diff) | |
download | nextcloud-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.php | 2 |
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(); } /** |