mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 19:43:16 +00:00
add missing parentheses
This commit is contained in:
@@ -1080,9 +1080,9 @@ class API_V1_adapter extends API_V1_Abstract
|
|||||||
$ret = array();
|
$ret = array();
|
||||||
foreach ($caption->get_fields() as $field)
|
foreach ($caption->get_fields() as $field)
|
||||||
{
|
{
|
||||||
foreach($field->get_values as $value)
|
foreach ($field->get_values() as $value)
|
||||||
{
|
{
|
||||||
$ret[$value->getId()] = $this->list_record_caption_field($value);
|
$ret[$value->getId()] = $this->list_record_caption_field($value, $field);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user