summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-04-11 21:06:20 -0400
committerFrederic Guillot <fred@kanboard.net>2016-04-11 21:06:20 -0400
commit06b86313c9b33899dcec1a430f1c3016e193c1d9 (patch)
treef18a0e29d33ce63981c457019d588d55731b64c4 /app/Model
parentd8b6e7e26e947d4d3409ac4edad90217f0a74487 (diff)
Removed PHP notices in comment suppression view
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/Comment.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Model/Comment.php b/app/Model/Comment.php
index f7ac4eaa..c5091d89 100644
--- a/app/Model/Comment.php
+++ b/app/Model/Comment.php
@@ -76,7 +76,9 @@ class Comment extends Base
self::TABLE.'.comment',
self::TABLE.'.reference',
User::TABLE.'.username',
- User::TABLE.'.name'
+ User::TABLE.'.name',
+ User::TABLE.'.email',
+ User::TABLE.'.avatar_path'
)
->join(User::TABLE, 'id', 'user_id')
->eq(self::TABLE.'.id', $comment_id)