forked from GNUsocial/gnu-social
[ATTACHMENT] Some attachments don't have thumbnails and that's okay
This commit is contained in:
@@ -221,6 +221,7 @@ class Attachment extends Entity
|
||||
} else {
|
||||
$this->setFilename(null);
|
||||
$this->setSize(null);
|
||||
// Important not to null neither width nor height
|
||||
DB::persist($this);
|
||||
DB::flush();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user