From 681570b42922886d1d5c0039e633c45c6c4999a7 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sat, 21 Jan 2012 16:59:16 +0100 Subject: [PATCH] MDL-31182 fix fatal error when problem detected in finding messaging defaults --- message/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/message/lib.php b/message/lib.php index 023b9948e3d..e2d8a301f9a 100644 --- a/message/lib.php +++ b/message/lib.php @@ -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