mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
Merge branch 'w04_MDL-31182_m23_messprefs' of git://github.com/skodak/moodle
This commit is contained in:
commit
86e73f8981
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user