Skip to content

Commit

Permalink
MDL-32026 messaging: Fix non-existing variable in the error output
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruslan Kabalin committed Mar 22, 2012
1 parent 23778a4 commit 43798a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/messagelib.php
Expand Up @@ -128,7 +128,7 @@ function message_send($eventdata) {
} else { } else {
//MDL-25114 They supplied an $eventdata->component $eventdata->name combination which doesn't //MDL-25114 They supplied an $eventdata->component $eventdata->name combination which doesn't
//exist in the message_provider table (thus there is no default settings for them) //exist in the message_provider table (thus there is no default settings for them)
$preferrormsg = get_string('couldnotfindpreference', 'message', $preferencename); //TODO: undefined $preferencename $preferrormsg = get_string('couldnotfindpreference', 'message', $defaultpreference);
throw new coding_exception($preferrormsg,'blah'); throw new coding_exception($preferrormsg,'blah');
} }


Expand Down

0 comments on commit 43798a4

Please sign in to comment.