From 877435e6e6fc2eb470e9697f9b9f729d8b14c5c4 Mon Sep 17 00:00:00 2001 From: Yagami Date: Wed, 8 Feb 2023 11:01:09 +0800 Subject: [PATCH] * Code for error. --- module/task/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/task/control.php b/module/task/control.php index b30caf7f8d..465ba77563 100755 --- a/module/task/control.php +++ b/module/task/control.php @@ -625,7 +625,7 @@ class task extends control if(isset($this->view->members['closed']) or $this->view->task->status == 'closed') $this->view->members['closed'] = 'Closed'; $executions = array(); - if(!empty($task->project)) $executions = $this->execution->getByProject($projectID, 'all', 0, true); + if(!empty($task->project)) $executions = $this->execution->getByProject($task->project, 'all', 0, true); $this->view->title = $this->lang->task->edit . 'TASK' . $this->lang->colon . $this->view->task->name; $this->view->position[] = $this->lang->task->common;