From 4e05dccaeb26fbdcca5a47477ba7a81bfdd0132e Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Wed, 17 Apr 2024 14:45:40 +0800 Subject: [PATCH] * Fix bug #46695. undifind attribute. --- module/execution/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/execution/control.php b/module/execution/control.php index 58d25d9da7..dc95054545 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1111,6 +1111,7 @@ class execution extends control ->setIF($oldExecution->type == 'stage', 'project', $oldExecution->project) ->setDefault('team', $this->post->name) ->setDefault('branch', $this->post->branch) + ->setDefault('attribute', $oldExecution->attribute) ->get(); $changes = $this->execution->update($executionID, $formData);