mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-25 19:28:51 +02:00
Fixed exception on login.
This commit is contained in:
parent
4047125c6e
commit
9d73cc0869
2 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue