Skip to content

Commit 699e20d

Browse files
authored
Fix a PHP-8 array access
1 parent 285cdc8 commit 699e20d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Migration/ThemeMigration.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ private function persistManifest(string $themeName, array $manifest, string $man
131131
}
132132

133133
// Table tl_theme
134-
$themeId = $this->persistTheme($row['id'], $manifest['theme']['name'], $themeName, $manifestHash);
134+
$themeId = $this->persistTheme($row['id'] ?? null, $manifest['theme']['name'], $themeName, $manifestHash);
135135

136136
// Table tl_layout
137137
$layouts = $manifest['layouts'] ?? [];

0 commit comments

Comments
 (0)