mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
fix: #8681 change owner modal's search should check if user is banned
This commit is contained in:
@@ -37,7 +37,7 @@ define('forum/topic/change-owner', [
|
||||
changeOwner();
|
||||
});
|
||||
|
||||
autocomplete.user(modal.find('#username'), function (ev, ui) {
|
||||
autocomplete.user(modal.find('#username'), { notBanned: true }, function (ev, ui) {
|
||||
toUid = ui.item.user.uid;
|
||||
checkButtonEnable();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user