From 1ffce0c73547c19416516457b4be052a672448cc Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Tue, 3 Jun 2014 15:23:50 -0700 Subject: [PATCH] MDL-45789 mod_wiki: removed undefined "$this->other['itemid']" from the comments_viewed event description --- mod/wiki/classes/event/comments_viewed.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/wiki/classes/event/comments_viewed.php b/mod/wiki/classes/event/comments_viewed.php index 8e05e085170..d8031732787 100644 --- a/mod/wiki/classes/event/comments_viewed.php +++ b/mod/wiki/classes/event/comments_viewed.php @@ -51,8 +51,8 @@ class comments_viewed extends \core\event\comments_viewed { * @return string */ public function get_description() { - return "The user with id '$this->userid' viewed a comment with id '$this->objectid' on the page with id " . - "'{$this->other['itemid']}' for the wiki with the course module id '$this->contextinstanceid'."; + return "The user with id '$this->userid' viewed the comments for the page with id '$this->objectid' for the wiki " . + "with the course module id '$this->contextinstanceid'."; } /**