From abf4f90f905b62d8034f52a25d1e43261da79d07 Mon Sep 17 00:00:00 2001 From: liugang Date: Tue, 28 Mar 2023 07:38:08 +0000 Subject: [PATCH] * Remove the unused local variable. --- module/pivot/model.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/module/pivot/model.php b/module/pivot/model.php index 6d0487cd4e..d27b56d946 100644 --- a/module/pivot/model.php +++ b/module/pivot/model.php @@ -355,9 +355,8 @@ class pivotModel extends model } /* Fix bug for children. */ - $parents = array(); - $taskIdList = array(); - $taskGroups = array(); + $parents = array(); + $taskGroups = array(); foreach($tasks as $task) { if($task->parent > 0) $parents[$task->parent] = $task->parent;