Merge branch 'MDL-56300_master' of git://github.com/reskit/moodle
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -218,7 +218,7 @@ define(['jquery', 'core/notification', 'core/str', 'core/form-autocomplete',
|
||||
if (show) {
|
||||
this._filteredUsers[this._filteredUsers.length] = user;
|
||||
if (userid == user.id) {
|
||||
foundIndex = index;
|
||||
foundIndex = (this._filteredUsers.length - 1);
|
||||
}
|
||||
}
|
||||
}.bind(this));
|
||||
|
||||
Reference in New Issue
Block a user