mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 03:53:13 +00:00
Add curly braces
This commit is contained in:
@@ -95,8 +95,9 @@ class databox_descriptionStructure implements IteratorAggregate
|
||||
{
|
||||
$name = databox_field::generateName($name);
|
||||
|
||||
if (isset($this->cache_name_id[$name]))
|
||||
if (isset($this->cache_name_id[$name])) {
|
||||
return $this->elements[$this->cache_name_id[$name]];
|
||||
}
|
||||
|
||||
foreach ($this->elements as $id => $meta) {
|
||||
if ($meta->get_name() === $name) {
|
||||
|
Reference in New Issue
Block a user