fix: never happens

pull/8361/head
Luciano Righetti 2022-05-11 15:53:33 +02:00
parent 726e7fbe4b
commit 6277013c49
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ class Feed extends AppModel
}
if (in_array($attribute['type'], $compositeTypes, true)) {
$parts = explode('|', $attribute['value']) ?? [null, null];
$parts = explode('|', $attribute['value']);
list($value1, $value2) = count($parts) === 1 ? [$parts[0], null] : $parts;
$parts = [$value1];