From a055f323463fc84865fd4eeec63eb7cc25d1d38c Mon Sep 17 00:00:00 2001 From: Josh Crawford Date: Wed, 10 Apr 2024 22:51:29 +1000 Subject: [PATCH] Fix an error when running content table migrations --- src/controllers/PluginController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/PluginController.php b/src/controllers/PluginController.php index 4d4cdc6..4881e41 100644 --- a/src/controllers/PluginController.php +++ b/src/controllers/PluginController.php @@ -417,7 +417,7 @@ public function actionCheckContentTables(): Response } $settings = Json::decode($superTableField['settings']); - $configSettings = $projectConfig->get($path); + $configSettings = $projectConfig->get($path) ?? []; $configSettings = ProjectConfigHelper::unpackAssociativeArrays($configSettings); if ($settings != $configSettings) {