Merge branch 'w04_MDL-31182_m21_messprefs' of git://github.com/skodak/moodle into MOODLE_21_STABLE
This commit is contained in:
+1
-1
@@ -2381,7 +2381,7 @@ function translate_message_default_setting($plugindefault, $processorname) {
|
||||
|
||||
// Validate the value. It should not exceed the maximum size
|
||||
if (!is_int($plugindefault) || ($plugindefault > 0x0f)) {
|
||||
$OUTPUT->notification(get_string('errortranslatingdefault', 'message'), 'notifyproblem');
|
||||
debugging(get_string('errortranslatingdefault', 'message'));
|
||||
$plugindefault = $default;
|
||||
}
|
||||
// Use plugin default setting of 'permitted' is 0
|
||||
|
||||
Reference in New Issue
Block a user