From f4bfde58af8f2480969cf5c4d8cf7de69cf48d0e Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 16 Nov 2023 15:49:33 +0800 Subject: [PATCH] * Fix type error. --- module/release/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/release/control.php b/module/release/control.php index 123ca746e3..1850b181b2 100644 --- a/module/release/control.php +++ b/module/release/control.php @@ -358,8 +358,8 @@ class release extends control $executionIdList = array(); foreach($builds as $build) { - if(!empty($build->execution)) $executionIdList[$build->execution] = $build->execution; - if(empty($build->execution) && !empty($build->project)) $executionIdList[$build->project] = $build->project; + if(!empty($build->execution)) $executionIdList[$build->execution] = (int)$build->execution; + if(empty($build->execution) && !empty($build->project)) $executionIdList[$build->project] = (int)$build->project; } /* Load pager. */