Allow to specify a preview attachment in the AdminPages.

This commit is contained in:
Jan Böhmer 2019-10-03 13:42:06 +02:00
parent 280b2d4427
commit d9fe77d0e8
5 changed files with 120 additions and 26 deletions

View file

@ -337,6 +337,8 @@ abstract class Attachment extends NamedDBElement
}
$this->path = $url;
//Reset internal filename
$this->original_filename = null;
}
return $this;