diff --git a/module/build/model.php b/module/build/model.php index 8e1319f005..e69fa05c6d 100644 --- a/module/build/model.php +++ b/module/build/model.php @@ -270,7 +270,7 @@ class buildModel extends model ->leftJoin(TABLE_RELEASE)->alias('t3')->on("FIND_IN_SET(t1.id,t3.build)") ->leftJoin(TABLE_PRODUCT)->alias('t4')->on('t1.product = t4.id') ->where('1=1') - ->beginIf(!empty($shaows))->andWhere('t1.id')->notIN($shadows)->fi() + ->beginIf(!empty($shadows))->andWhere('t1.id')->notIN($shadows)->fi() ->beginIF(strpos($params, 'hasdeleted') === false)->andWhere('t1.deleted')->eq(0)->fi() ->beginIF(strpos($params, 'hasproject') !== false)->andWhere('t1.project')->ne(0)->fi() ->beginIF(strpos($params, 'singled') !== false)->andWhere('t1.execution')->ne(0)->fi()