From 0b7da5103cfce1b64bde3e035054972586056bab Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 8 Aug 2024 12:49:41 +1200 Subject: [PATCH] FIX Update CMS fields now that they're being scaffolded --- src/ErrorPage.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ErrorPage.php b/src/ErrorPage.php index 7302c43..5931474 100644 --- a/src/ErrorPage.php +++ b/src/ErrorPage.php @@ -48,6 +48,14 @@ class ErrorPage extends Page "ErrorCode" => 400 ]; + private static array $scaffold_cmsfields_settings = [ + 'ignoreFields' => [ + // Scaffolded field is incorrect and poorly placed, + // so don't waste time scaffolding it + 'ErrorCode', + ], + ]; + private static $table_name = 'ErrorPage'; private static $allowed_children = [];