Merge branch 'ent-13123-al-linkear-una-cv-sale-el-nombre-con-entities' into 'develop'
Ent 13123 al linkear una cv sale el nombre con entities See merge request artica/pandorafms!7080
This commit is contained in:
commit
c656e10b7f
|
@ -2416,10 +2416,10 @@ class Item extends CachedModel
|
|||
foreach ($fields as $k => $v) {
|
||||
if (isset($v['id']) === true && isset($v['name']) === true) {
|
||||
// Modern environments use id-name format.
|
||||
$rs[$v['id']] = $v;
|
||||
$rs[$v['id']] = io_safe_output($v);
|
||||
} else {
|
||||
// In MC environments is key-value.
|
||||
$rs[$k] = $v;
|
||||
$rs[$k] = io_safe_output($v);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue