diff --git a/src/fields/SuperTable.php b/src/fields/SuperTable.php index ad6c18cb..bc496c38 100644 --- a/src/fields/SuperTable.php +++ b/src/fields/SuperTable.php @@ -101,7 +101,7 @@ public function parseField(): mixed // Finish up with the content, also sort out cases where there's array content if (isset($fieldData[$key]) && is_array($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; }