Merge branch 'w04_MDL-31182_m22_messprefs' of git://github.com/skodak/moodle into MOODLE_22_STABLE

This commit is contained in:
Sam Hemelryk
2012-01-23 14:45:50 +08:00
+1 -1
View File
@@ -2383,7 +2383,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