Skip to content

Commit

Permalink
backport #1365
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybrad committed Nov 25, 2023
1 parent ec9ed23 commit 51a9327
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Added the ability to provide a filename for importing assets via the assets field if you choose to “Create asset from URL”. ([#749](https://github.com/craftcms/feed-me/issues/749))
- Fixed a bug where you could not override feed settings with `false` if you used a `config/feed-me.php` config file. ([#1352](https://github.com/craftcms/feed-me/issues/1352))
- Fixed a bug where `queueTtr`, `queueMaxRetry`, and `assetDownloadCurl` settings were being ignored if you used a `config/feed-me.php` config file. ([#1356](https://github.com/craftcms/feed-me/issues/1356))
- Fixed a PHP error that could occur when importing into a relational field inside of Super Table under certain circumstances. ([#1364](https://github.com/craftcms/feed-me/issues/1364))

## 4.7.0 - 2023-07-06

Expand Down
2 changes: 1 addition & 1 deletion src/fields/SuperTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function parseField()
$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;
}
Expand Down

0 comments on commit 51a9327

Please sign in to comment.