From aefa93b53afb4510692de538018b7623d6957a8a Mon Sep 17 00:00:00 2001 From: liuruogu Date: Wed, 3 Dec 2025 00:53:34 +0000 Subject: [PATCH] * optimize code. --- api/v1/entries/tasks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/entries/tasks.php b/api/v1/entries/tasks.php index 699c6b9c39..3f3d5498d1 100644 --- a/api/v1/entries/tasks.php +++ b/api/v1/entries/tasks.php @@ -161,7 +161,7 @@ class tasksEntry extends entry $users = $this->loadModel('user')->getPairs('noletter'); foreach($teamEstimate as $index => $estimate) { - if(!isset($team[$index]) || empty($team[$index])) continue; + if(empty($team[$index])) continue; $estimateValue = (float)$estimate; if(!is_numeric($estimate) || $estimateValue <= 0)