From 5372dfb7f1b8a273377ae8ea2a726db29ae21db0 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 9 Apr 2015 13:07:50 +0200 Subject: [PATCH] Fetch a comment's author using `comment_author_name' refs #8613 --- modules/monitoring/application/controllers/ListController.php | 2 +- .../monitoring/library/Monitoring/Object/MonitoredObject.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/application/controllers/ListController.php b/modules/monitoring/application/controllers/ListController.php index cf5821cdc..71325e05a 100644 --- a/modules/monitoring/application/controllers/ListController.php +++ b/modules/monitoring/application/controllers/ListController.php @@ -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', diff --git a/modules/monitoring/library/Monitoring/Object/MonitoredObject.php b/modules/monitoring/library/Monitoring/Object/MonitoredObject.php index 621c25c75..c33e1be2d 100644 --- a/modules/monitoring/library/Monitoring/Object/MonitoredObject.php +++ b/modules/monitoring/library/Monitoring/Object/MonitoredObject.php @@ -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', ))