mirror of
https://github.com/silverstripe/silverstripe-tagfield
synced 2024-10-22 11:05:32 +02:00
PHP 5 compatibility 🙄
This commit is contained in:
parent
5decfa39e1
commit
2790d7504a
@ -322,7 +322,7 @@ class TagField extends MultiSelectField
|
||||
$values = [];
|
||||
foreach ($value as $item) {
|
||||
if ($item) {
|
||||
$values[] = $item['Value'] ?? $item;
|
||||
$values[] = isset($item['Value']) ? $item['Value'] : $item;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user