mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 13:33:14 +00:00
PHRAS-3822 Prod : Improve Image WaterMarking (#4266)
* admin improve watermark * unused * allow to use collection wm image to wm a subdef (set <watermark>coll_wm</watermark> in structure) * [skip ci] upload a wm for subdef (WIP to be continued ?) * allow to use a record as wm image (document) to wmark subdefs * cleanup --------- Co-authored-by: jygaulier <gaulier@alchemy.fr>
This commit is contained in:
@@ -107,7 +107,7 @@ class databox_subdefsStructure implements IteratorAggregate, Countable
|
||||
$group = $this->getSubdefGroup($subdefgroup_name);
|
||||
|
||||
foreach ($subdefs as $sd) {
|
||||
$group->addSubdef(new databox_subdef($group->getType(), $sd, $this->translator));
|
||||
$group->addSubdef(new databox_subdef($group->getType(), $sd, $this->translator, $this->databox));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user