Merge branch 'w04_MDL-31182_m23_messprefs' of git://github.com/skodak/moodle

This commit is contained in:
Sam Hemelryk 2012-01-23 14:46:05 +08:00
commit 86e73f8981

View File

@ -2383,7 +2383,7 @@ function translate_message_default_setting($plugindefault, $processorname) {
// Validate the value. It should not exceed the maximum size // Validate the value. It should not exceed the maximum size
if (!is_int($plugindefault) || ($plugindefault > 0x0f)) { if (!is_int($plugindefault) || ($plugindefault > 0x0f)) {
$OUTPUT->notification(get_string('errortranslatingdefault', 'message'), 'notifyproblem'); debugging(get_string('errortranslatingdefault', 'message'));
$plugindefault = $default; $plugindefault = $default;
} }
// Use plugin default setting of 'permitted' is 0 // Use plugin default setting of 'permitted' is 0