diff --git a/src/fields/SuperTable.php b/src/fields/SuperTable.php index bc496c38..21262fa6 100644 --- a/src/fields/SuperTable.php +++ b/src/fields/SuperTable.php @@ -122,7 +122,7 @@ public function parseField(): mixed $parsedValue = $this->_parseSubField($nodePaths, $subFieldHandle, $subFieldInfo); if (isset($fieldData[$key])) { - $fieldData[$key] = array_merge_recursive($fieldData[$key], $parsedValue); + $fieldData[$key] = is_array($parsedValue) ? array_merge_recursive($fieldData[$key], $parsedValue) : $fieldData[$key]; } else { $fieldData[$key] = $parsedValue; }