diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostcommentdeletionhistoryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostcommentdeletionhistoryQuery.php index a9c8f5f82..99b841b3a 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostcommentdeletionhistoryQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostcommentdeletionhistoryQuery.php @@ -27,15 +27,15 @@ class HostcommentdeletionhistoryQuery extends HostcommenthistoryQuery { parent::joinBaseTables(); $this->select->where("hch.deletion_time > '1970-01-02 00:00:00'"); - $this->columnMap['history']['timestamp'] = str_replace( + $this->columnMap['commenthistory']['timestamp'] = str_replace( 'comment_time', 'deletion_time', - $this->columnMap['history']['timestamp'] + $this->columnMap['commenthistory']['timestamp'] ); - $this->columnMap['history']['type'] = str_replace( + $this->columnMap['commenthistory']['type'] = str_replace( 'END)', "END || '_deleted')", - $this->columnMap['history']['type'] + $this->columnMap['commenthistory']['type'] ); } }