From 3a08c5330b43e65c8b1c59aeb01cfc218b35d489 Mon Sep 17 00:00:00 2001 From: Paula Quispe Date: Mon, 25 Aug 2025 15:24:38 -0400 Subject: [PATCH] FOUR-25996 --- ProcessMaker/Http/Controllers/Api/ScreenController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProcessMaker/Http/Controllers/Api/ScreenController.php b/ProcessMaker/Http/Controllers/Api/ScreenController.php index 943618b81b..894a226683 100644 --- a/ProcessMaker/Http/Controllers/Api/ScreenController.php +++ b/ProcessMaker/Http/Controllers/Api/ScreenController.php @@ -430,7 +430,7 @@ public function duplicate(Screen $screen, Request $request) $request->validate(Screen::rules()); $newScreen = new Screen(); - $exclude = ['id', 'uuid', 'created_at', 'updated_at', 'key']; + $exclude = ['id', 'uuid', 'created_at', 'updated_at', 'key', 'is_default']; foreach ($screen->getAttributes() as $attribute => $value) { if (!in_array($attribute, $exclude)) { $newScreen->{$attribute} = $screen->{$attribute};