This commit is contained in:
Hannes Mannerheim 2016-01-25 02:24:56 +01:00
parent cb635d6e04
commit 2610a52566

View File

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