mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
Fix caption record cache invalidation when Databox structure DCES settings are modified
This commit is contained in:
@@ -109,6 +109,19 @@ class databox_descriptionStructure implements IteratorAggregate
|
||||
return null;
|
||||
}
|
||||
|
||||
public function get_dces_field($label)
|
||||
{
|
||||
foreach ($this->elements as $field) {
|
||||
if (null !== $dces_element = $field->get_dces_element()) {
|
||||
if ($label === $dces_element->get_label()) {
|
||||
return $field;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param string $id
|
||||
|
Reference in New Issue
Block a user