From 820c929ab38273c80d0930e2e6140dd7676ba4df Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 26 Mar 2016 14:43:41 -0400 Subject: Added avatar image upload --- app/Model/Comment.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/Model/Comment.php') diff --git a/app/Model/Comment.php b/app/Model/Comment.php index 6eb4a1e5..f7ac4eaa 100644 --- a/app/Model/Comment.php +++ b/app/Model/Comment.php @@ -48,7 +48,8 @@ class Comment extends Base self::TABLE.'.comment', User::TABLE.'.username', User::TABLE.'.name', - User::TABLE.'.email' + User::TABLE.'.email', + User::TABLE.'.avatar_path' ) ->join(User::TABLE, 'id', 'user_id') ->orderBy(self::TABLE.'.date_creation', $sorting) -- cgit v1.2.3 From 06b86313c9b33899dcec1a430f1c3016e193c1d9 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 11 Apr 2016 21:06:20 -0400 Subject: Removed PHP notices in comment suppression view --- ChangeLog | 4 ++++ app/Model/Comment.php | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'app/Model/Comment.php') diff --git a/ChangeLog b/ChangeLog index f4952b53..6282ecee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,10 @@ Improvements: * Filter/Lexer/QueryBuilder refactoring +Bug fixes: + +* Removed PHP notices in comment suppression view + Version 1.0.27 -------------- 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) -- cgit v1.2.3