This commit is contained in:
liyuchun
2022-09-01 13:31:51 +08:00
parent 2dc4419048
commit 2fa11c196e
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -302,6 +302,7 @@ class repo extends control
$this->view->file = $file;
$this->view->entry = $entry;
$this->view->path = $entry;
$this->view->info = $info;
$this->view->suffix = $suffix;
$this->view->content = $content ? $content : '';
$this->view->pathInfo = $pathInfo;
+3 -1
View File
@@ -1745,8 +1745,10 @@ class taskModel extends model
foreach($record->dates as $id => $item) if($item > $today) dao::$errors[] = 'ID #' . $id . ' ' . $this->lang->task->error->date;
if(dao::isError()) return false;
$task = $this->getById($taskID);
if(!empty($task->team) and !isset($task->team[$this->app->user->account])) return false;
$estimates = array();
$task = $this->getById($taskID);
$earliestTime = '';
foreach(array_keys($record->id) as $id)
{