'context' => $this->get_context(),
'objectid' => $this->id,
'relateduserid' => $userid,
- 'other' => array('expiredate' => $issued->dateexpire, 'badgeissuedid' => $result)
+ 'other' => array('dateexpire' => $issued->dateexpire, 'badgeissuedid' => $result)
);
\core\event\badge_awarded::create($eventdata)->trigger();
* @return string
*/
public function get_description() {
- return "The user with the id '$this->relateduserid' has been awarded the badge with id '".$this->objectid."'.";
+ return "The user with id '$this->relateduserid' has been awarded the badge with id '".$this->objectid."'.";
}
/**