diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/controller/taskscontroller.php | 1 | ||||
-rw-r--r-- | lib/helper.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/controller/taskscontroller.php b/lib/controller/taskscontroller.php index 04448d26..e18f7811 100644 --- a/lib/controller/taskscontroller.php +++ b/lib/controller/taskscontroller.php @@ -512,6 +512,7 @@ class TasksController extends Controller { 'taskID' => $taskId, 'id' => $commentId, 'tmpID' => $this->params('tmpID'), + 'name' => \OCP\USER::getDisplayName(), 'userID' => $userId, 'comment' => $comment, 'time' => $now->format('Ymd\THis') diff --git a/lib/helper.php b/lib/helper.php index ca7c8bcb..94ab287a 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -179,6 +179,7 @@ Class helper { $comments_parsed[] = array( 'id' => (int)$com['ID']->value, 'userID' => $com['USERID']->value, + 'name' => \OCP\USER::getDisplayName($com['USERID']->value), 'comment' => $com->value, 'time' => $time ); |