This commit is contained in:
Hannes Mannerheim 2016-01-26 11:44:42 +01:00
parent c90f2026ab
commit 0353003038

View File

@ -578,7 +578,7 @@ class QvitterPlugin extends Plugin {
} }
// this applies to older versions of gnu social, i think // this applies to older versions of gnu social, i think
} catch (ServerException $e) { } catch (Exception $e) {
$thumb = File_thumbnail::getKV('file_id', $attachment->id); $thumb = File_thumbnail::getKV('file_id', $attachment->id);
if ($thumb instanceof File_thumbnail) { if ($thumb instanceof File_thumbnail) {
$thumb_url = $thumb->getUrl(); $thumb_url = $thumb->getUrl();