From 6ecac70d85a3ee8dbe27f833c339182dee948aae Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 21 Mar 2023 15:44:47 +0800 Subject: [PATCH] * fix bug #33172. --- module/build/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/build/model.php b/module/build/model.php index 5f43f10e72..2e6c15a798 100644 --- a/module/build/model.php +++ b/module/build/model.php @@ -288,7 +288,7 @@ class buildModel extends model if(empty($build->releaseID) and (strpos($params, 'nodone') !== false) and ($build->objectStatus === 'done')) continue; if((strpos($params, 'noterminate') !== false) and ($build->releaseStatus === 'terminate')) continue; if((strpos($params, 'withexecution') !== false) and $build->execution and isset($executions[$build->execution])) continue; - if($branch !== 'all' and strpos(",{$build->branch},", ",{$branch},")) continue; + if($branch !== 'all' and strpos(",{$build->branch},", ",{$branch},") === false) continue; if($build->deleted == 1) $build->name .= ' (' . $this->lang->build->deleted . ')';