* Fix bug #27041.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user