Skip to content

Commit

Permalink
Blog - Display error message when delete and email post of Student #2…
Browse files Browse the repository at this point in the history
…60644
  • Loading branch information
jason-platts authored and sammarshallou committed Jun 22, 2018
1 parent 899579d commit 87fc1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deletepost_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class mod_oublog_deletepost_form extends moodleform {

public function definition() {
$mform =& $this->_form;
$cmid = $this->_customdata['cmid'];
$cmid = $this->_customdata->cmid;

// Header.
$mform->addElement('header', 'general', get_string('deleteandemail', 'oublog'));
Expand Down

0 comments on commit 87fc1d9

Please sign in to comment.