webservice MDL-22592 fix wrong array usage $user->id => $user['id]

This commit is contained in:
jerome mouneyrac 2010-05-27 07:33:36 +00:00
parent dd68016b6d
commit c4c352dd3b

View File

@ -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();