mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-25 19:28:51 +02:00
Allow to specify a preview attachment in the AdminPages.
This commit is contained in:
parent
280b2d4427
commit
d9fe77d0e8
5 changed files with 120 additions and 26 deletions
|
@ -337,6 +337,8 @@ abstract class Attachment extends NamedDBElement
|
|||
}
|
||||
|
||||
$this->path = $url;
|
||||
//Reset internal filename
|
||||
$this->original_filename = null;
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue