Merge branch 'm26_MDL-43045' of git://github.com/totara/moodle into MOODLE_26_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2013-11-26 21:28:25 +01:00
+1 -1
View File
@@ -563,7 +563,7 @@ function report_security_check_defaultuserrole($detailed=false) {
if ($riskycount or !$legacyok) {
$result->status = REPORT_SECURITY_CRITICAL;
$result->info = get_string('check_defaultuserrole_error', 'report_security', format_string($default_role->name));
$result->info = get_string('check_defaultuserrole_error', 'report_security', role_get_name($default_role));
} else {
$result->status = REPORT_SECURITY_OK;