From c6fc23977e036a1167346c44ab95500a6f388609 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Fri, 15 Dec 2023 10:41:30 +0800 Subject: [PATCH] * Fix parameter type error. --- module/testtask/zen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testtask/zen.php b/module/testtask/zen.php index 5531c4c320..4891eb0793 100644 --- a/module/testtask/zen.php +++ b/module/testtask/zen.php @@ -511,7 +511,7 @@ class testtaskZen extends testtask */ protected function prepareCasesForBatchRun(int $productID, string $orderBy, string $from, int $taskID, string $confirm, array $caseIdList): array { - $this->setMenu($productID, 0, $this->session->project, $this->session->execution); + $this->setMenu($productID, 0, (int)$this->session->project, (int)$this->session->execution); $cases = $this->dao->select('*')->from(TABLE_CASE) ->where('id')->in($caseIdList)