diff --git a/module/execution/model.php b/module/execution/model.php index 757ef278c8..0581b89bb3 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -1985,7 +1985,7 @@ class executionModel extends model ->orderBy('t1.order_asc, t1.id_desc') ->fetchGroup('execution', 'id'); - $today = $begin = $end = helper::today(); + $begin = $end = helper::today(); $taskIdList = array(); foreach($executionTasks as $tasks) { diff --git a/module/programplan/model.php b/module/programplan/model.php index 1f767e6980..f125f8129a 100755 --- a/module/programplan/model.php +++ b/module/programplan/model.php @@ -876,7 +876,7 @@ class programplanModel extends model $isGantt = $this->app->rawModule == 'programplan' && $this->app->rawMethod == 'browse'; if($isGantt) $plans = $this->loadModel('execution')->getByIdList($planIdList); - $today = $begin = $end = helper::today(); + $begin = $end = helper::today(); $deadlineList = array(); foreach($tasks as $taskID => $task) {