mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Substitution enhancement
This commit is contained in:
@@ -137,7 +137,8 @@ class lazaretFile
|
||||
$pathfile = $registry->get('GV_RootPath') . 'tmp/lazaret/' . $this->filepath;
|
||||
|
||||
$record = new record_adapter($sbas_id, $record_id);
|
||||
p4file::substitute($record, $pathfile, $this->filename, false);
|
||||
$record->substitute_subdef('document', new system_file($pathfile));
|
||||
|
||||
$this->delete();
|
||||
|
||||
return $this;
|
||||
|
Reference in New Issue
Block a user