Skip to content

Commit 5d5cf83

Browse files
committed
Compatibility with Kirby 3.6.0
1 parent 649cd87 commit 5d5cf83

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/sections/modules.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717

1818
$base = Section::$types['pages'];
1919

20+
if (is_string($base)) {
21+
$base = include $base;
22+
}
23+
2024
return array_replace_recursive($base, [
2125
'props' => [
2226
'create' => function ($create = null) use ($blueprints) {

0 commit comments

Comments
 (0)