Skip to content

Commit

Permalink
Merge branch 'release/3.6.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
joshangell committed Feb 9, 2021
2 parents 4ce3327 + cd4c38e commit 085982b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
## Unreleased


## 3.6.1 - 2021-02-09

### Fixed
- Fixed an issue with project config that could cause it to throw a big wobbly ([#105](https://github.com/angell-co/Spoon/issues/105))


## 3.6.0 - 2020-09-25

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/services/BlockTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function handleChangedBlockType(ConfigEvent $event)
$blockTypeRecord->uid = $uid;

// Handle the field layout
if ($data['fieldLayout']) {
if (isset($data['fieldLayout']) && $data['fieldLayout'] !== null) {
$flData = reset($data['fieldLayout']);
if ($flData) {
// Save the field layout
Expand Down

0 comments on commit 085982b

Please sign in to comment.