Skip to content

Commit f526a69

Browse files
committed
version 2.1.13.1
1 parent e8a7500 commit f526a69

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 2.1.13.1 - 2019-02-27
4+
5+
### Fixed
6+
- Fix potential migration issue from 2.1.13 where some fields have no settings.
7+
38
## 2.1.13 - 2019-02-27
49

510
### Fixed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "verbb/super-table",
33
"description": "Super-charge your Craft workflow with Super Table. Use it to group fields together or build complex Matrix-in-Matrix solutions.",
44
"type": "craft-plugin",
5-
"version": "2.1.13",
5+
"version": "2.1.13.1",
66
"keywords": [
77
"craft",
88
"cms",

src/migrations/m190227_000000_fix_project_config.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,10 @@ private function _getFieldData(): array
109109

110110
// Massage the data and index by UID
111111
foreach ($fieldRows as $fieldRow) {
112-
$fieldRow['settings'] = Json::decodeIfJson($fieldRow['settings']);
112+
if ($fieldRow['settings']) {
113+
$fieldRow['settings'] = Json::decodeIfJson($fieldRow['settings']);
114+
}
115+
113116
$fieldInstance = $fieldService->getFieldById($fieldRow['id']);
114117
$fieldRow['contentColumnType'] = $fieldInstance->getContentColumnType();
115118
$fields[$fieldRow['uid']] = $fieldRow;

0 commit comments

Comments
 (0)