mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
webservice MDL-22592 fix wrong array usage $user->id => $user['id]
This commit is contained in:
parent
dd68016b6d
commit
c4c352dd3b
@ -155,7 +155,7 @@ class moodle_user_external extends external_api {
|
||||
|
||||
//TODO: preferences
|
||||
|
||||
$userids[] = array('id'=>$user->id, 'username'=>$user['username']);
|
||||
$userids[] = array('id'=>$user['id'], 'username'=>$user['username']);
|
||||
}
|
||||
|
||||
$transaction->allow_commit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user