From 57fc3224456c8b1cd2094f3bdb54d8c6f65f1382 Mon Sep 17 00:00:00 2001 From: Steffen Giers Date: Sun, 26 Jan 2020 22:27:53 +0100 Subject: [PATCH] fix: add model type to prevent errors --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 9cbb0f5..f93563c 100755 --- a/index.php +++ b/index.php @@ -7,6 +7,7 @@ 'models' => [ // a camelCased model name results in Kirby\Exception\NotFoundException 'simplepagemodel' => [ + 'type'=> null, 'fields' => [ 'id' => function ($page) { return $page->id();