diff --git a/module/block/view/taskblock.html.php b/module/block/view/taskblock.html.php
index e5e611d872..60c6eafb32 100644
--- a/module/block/view/taskblock.html.php
+++ b/module/block/view/taskblock.html.php
@@ -31,7 +31,7 @@ td.delayed{background: #e84e0f!important; color: white;}
?>
>
| id;?> |
- task->priList), $task->pri, $task->pri)?> |
+ task->priList, $task->pri, $task->pri)?> |
name?> |
estimate?> |
'>deadline, 0, 4) > 0) echo $task->deadline;?> |
diff --git a/module/project/view/grouptask.html.php b/module/project/view/grouptask.html.php
index bb798c8d78..2233c58111 100644
--- a/module/project/view/grouptask.html.php
+++ b/module/project/view/grouptask.html.php
@@ -55,7 +55,7 @@
$groupWait = 0;
$groupDone = 0;
$groupDoing = 0;
- $groupClosed = 0;
+ $groupClosed = 0;
$groupEstimate = 0.0;
$groupConsumed = 0.0;
$groupLeft = 0.0;
@@ -113,7 +113,7 @@
id;?> |
- task->priList), $task->pri, $task->pri)?>'>task->priList), $task->pri, $task->pri);?> |
+ task->priList, $task->pri, $task->pri)?>'>task->priList, $task->pri, $task->pri);?> |
team)) echo '' . $lang->task->multipleAB . ' ';
diff --git a/module/task/model.php b/module/task/model.php
index de9498b0ea..4b4ff3bd74 100644
--- a/module/task/model.php
+++ b/module/task/model.php
@@ -672,6 +672,7 @@ class taskModel extends model
$task->status = 'done';
$task->finishedBy = $oldTask->openedBy; // Fix bug#1341
$task->finishedDate = helper::now();
+ $task->assignedTo = $oldTask->openedBy; // Fix bug#1341
}
else
{
@@ -741,7 +742,7 @@ class taskModel extends model
*
* @param int $taskID
* @access public
- * @return void
+ * @return array
*/
public function recordEstimate($taskID)
{
@@ -2264,8 +2265,8 @@ class taskModel extends model
/**
* Get mail subject.
- *
- * @param object $task
+ *
+ * @param object $task
* @access public
* @return string
*/
@@ -2277,8 +2278,8 @@ class taskModel extends model
/**
* Get toList and ccList.
- *
- * @param object $task
+ *
+ * @param object $task
* @access public
* @return bool|array
*/
|