@@ -52,8 +52,7 @@ |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | $hash = is_array($value['identifiers']) ? |
55 | - $value['identifiers'] : |
|
56 | - [$value['identifiers']]; |
|
55 | + $value['identifiers'] : [$value['identifiers']]; |
|
57 | 56 | |
58 | 57 | return $this->fieldType->fromHash($hash); |
59 | 58 | } |
@@ -296,8 +296,7 @@ |
||
296 | 296 | if ($emptyCount > ($fieldSettings['isMultiple'] ? 0 : 1)) { |
297 | 297 | $validationErrors[] = new ValidationError( |
298 | 298 | $fieldSettings['isMultiple'] ? |
299 | - "'%setting%' setting value item's 'identifier' property must have a value" : |
|
300 | - "'%setting%' setting value item's 'identifier' property must have only a single empty value", |
|
299 | + "'%setting%' setting value item's 'identifier' property must have a value" : "'%setting%' setting value item's 'identifier' property must have only a single empty value", |
|
301 | 300 | null, |
302 | 301 | [ |
303 | 302 | '%setting%' => $name, |