OC_Image::__invoke didn't return anything thus causing contacts/thumbnail.php to spit out lots of error messages.
This commit is contained in:
parent
2a184631d1
commit
b8cffbc0ee
|
@ -178,7 +178,7 @@ class OC_Image {
|
|||
* @brief Prints the image when called as $image().
|
||||
*/
|
||||
public function __invoke() {
|
||||
self::show();
|
||||
return self::show();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue