Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-32026 messaging: Fix non-existing variable in the error output

  • Loading branch information...
commit 43798a4efad71f6c698f25d947d06d516432643c 1 parent 23778a4
Ruslan Kabalin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/messagelib.php
View
2  lib/messagelib.php
@@ -128,7 +128,7 @@ function message_send($eventdata) {
} else {
//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)
- $preferrormsg = get_string('couldnotfindpreference', 'message', $preferencename); //TODO: undefined $preferencename
+ $preferrormsg = get_string('couldnotfindpreference', 'message', $defaultpreference);
throw new coding_exception($preferrormsg,'blah');
}
Please sign in to comment.
Something went wrong with that request. Please try again.