Fixed exception on login.

This commit is contained in:
Jan Böhmer 2019-09-24 16:09:54 +02:00
parent 4047125c6e
commit 9d73cc0869
2 changed files with 9 additions and 1 deletions

View file

@ -48,7 +48,6 @@ trait MasterAttachmentTrait
* @ORM\ManyToOne(targetEntity="App\Entity\Attachments\Attachment")
* @ORM\JoinColumn(name="id_preview_attachement", referencedColumnName="id")
* @Assert\Expression("value == null or value.isPicture()", message="part.master_attachment.must_be_picture")
* @ColumnSecurity(prefix="attachments", type="object")
*/
protected $master_picture_attachment;