We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8760d13 commit 6b4d4daCopy full SHA for 6b4d4da
src/EventListener/StorageListener.php
@@ -266,6 +266,10 @@ public function postSave(StorageEvent $event)
266
}
267
268
$localeData = json_decode($subject[$localeSlug . 'data']);
269
+ if (is_null($localeData)) {
270
+ $localeData = [];
271
+ }
272
+
273
foreach ($localeData as $key => $value) {
274
$subject->set($key, $value);
275
0 commit comments