From 2deaee321ed42120f156688a19771c265ef1283c Mon Sep 17 00:00:00 2001 From: Ilya Tregubov Date: Wed, 3 Mar 2021 11:11:23 +0200 Subject: [PATCH] MDL-71026 user: Fix incorrect get_string call. --- user/editadvanced.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/editadvanced.php b/user/editadvanced.php index 0bdbe43c5d9e..8ba1a537d066 100644 --- a/user/editadvanced.php +++ b/user/editadvanced.php @@ -204,7 +204,7 @@ if (!$authplugin->is_internal() and $authplugin->can_change_password() and !empty($usernew->newpassword)) { if (!$authplugin->user_update_password($usernew, $usernew->newpassword)) { // Do not stop here, we need to finish user creation. - debugging(get_string('cannotupdatepasswordonextauth', '', '', $usernew->auth), DEBUG_NONE); + debugging(get_string('cannotupdatepasswordonextauth', 'error', $usernew->auth), DEBUG_NONE); } } $usercreated = true;