PHP 5 compatibility 🙄

This commit is contained in:
Damian Mooyman 2020-07-06 14:33:09 +12:00
parent 5decfa39e1
commit 2790d7504a
No known key found for this signature in database
GPG Key ID: 19B1752E86A700BB

View File

@ -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;
}
}