bugfix
This commit is contained in:
parent
c90f2026ab
commit
0353003038
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user