Fetch a comment's author using `comment_author_name'

refs #8613
This commit is contained in:
Johannes Meyer 2015-04-09 13:07:50 +02:00
parent 21c76010d4
commit 5372dfb7f1
2 changed files with 2 additions and 2 deletions

View File

@ -469,7 +469,7 @@ class Monitoring_ListController extends Controller
'id' => 'comment_internal_id',
'objecttype' => 'comment_objecttype',
'comment' => 'comment_data',
'author' => 'comment_author',
'author' => 'comment_author_name',
'timestamp' => 'comment_timestamp',
'type' => 'comment_type',
'persistent' => 'comment_is_persistent',

View File

@ -248,7 +248,7 @@ abstract class MonitoredObject implements Filterable
$comments = $this->backend->select()->from('comment', array(
'id' => 'comment_internal_id',
'timestamp' => 'comment_timestamp',
'author' => 'comment_author',
'author' => 'comment_author_name',
'comment' => 'comment_data',
'type' => 'comment_type',
))