* optimize code.

This commit is contained in:
liuruogu
2025-12-31 08:59:21 +00:00
parent 74836c1bf4
commit aefa93b53a
+1 -1
View File
@@ -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)