From f21b95904ab2f4b806a116c177de159e70c93fc5 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Thu, 19 Nov 2009 02:05:35 +0000 Subject: [PATCH] security MDL-18807 Fixed deprecated function in notification --- admin/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/index.php b/admin/index.php index ed3727e83c..909bfe3d69 100644 --- a/admin/index.php +++ b/admin/index.php @@ -369,7 +369,7 @@ if ($insecuredataroot == INSECURE_DATAROOT_WARNING) { } if (empty($CFG->passwordsaltmain)) { - print_box(get_string('upgrade197notice', 'admin')."\n".get_string('upgrade197salt', 'admin', get_docs_url('report/security/report_security_check_passwordsaltmain'))); + echo $OUTPUT->box(get_string('upgrade197notice', 'admin')."\n".get_string('upgrade197salt', 'admin', get_docs_url('report/security/report_security_check_passwordsaltmain')), 'generalbox adminwarning'); } if (defined('WARN_DISPLAY_ERRORS_ENABLED')) { -- 2.39.5