From 8f0632f097fa4b8999eaf8f270750ab38b304b98 Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 19 Feb 2009 16:21:46 +0000 Subject: [PATCH] MDL-18318 fixed incorrect function param - thanks Aurelijus --- lib/moodlelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 5bb9d89a3c..97a04706b6 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -2907,7 +2907,7 @@ function update_user_record($username, $authplugin) { // nothing_ for this field. Thus it makes sense to let this value // stand in until LDAP is giving a value for this field. if (!(empty($value) && $lockval === 'unlockedifempty')) { - $DB->set_field('user', $key, $value, 'username', $username); + $DB->set_field('user', $key, $value, array('username'=>$username)); } } } -- 2.39.5