mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-09 18:04:33 +02:00
Show attachments in part info
WIP: viewing and downloading attachments is not possible yet.
This commit is contained in:
parent
717b257778
commit
01a83d388b
8 changed files with 269 additions and 16 deletions
|
@ -702,7 +702,7 @@ class Part extends AttachmentContainingDBElement
|
|||
$master_picture = $this->getMasterPictureAttachement(); // returns an Attachement-object
|
||||
|
||||
if (null !== $master_picture) {
|
||||
return $master_picture->getFilename();
|
||||
return $master_picture->getPath();
|
||||
}
|
||||
|
||||
if ($use_footprint_filename) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue