fix warning
listUsersForGroup with mode = 1 return array of user id
This commit is contained in:
parent
ec45afb05f
commit
ffa4e58add
@ -3,7 +3,7 @@
|
|||||||
* Copyright (C) 2013-2020 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2013-2020 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2012-2016 Regis Houssin <regis.houssin@inodbox.com>
|
* Copyright (C) 2012-2016 Regis Houssin <regis.houssin@inodbox.com>
|
||||||
* Copyright (C) 2018 Charlene Benke <charlie@patas-monkey.com>
|
* Copyright (C) 2018 Charlene Benke <charlie@patas-monkey.com>
|
||||||
* Copyright (C) 2019-2022 Frédéric France <frederic.france@netlogic.fr>
|
* Copyright (C) 2019-2023 Frédéric France <frederic.france@netlogic.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -620,7 +620,7 @@ if ($resql) {
|
|||||||
$valideurobjects = $validator->listUsersForGroup($excludefilter, 1);
|
$valideurobjects = $validator->listUsersForGroup($excludefilter, 1);
|
||||||
$valideurarray = array();
|
$valideurarray = array();
|
||||||
foreach ($valideurobjects as $val) {
|
foreach ($valideurobjects as $val) {
|
||||||
$valideurarray[$val->id] = $val->id;
|
$valideurarray[$val] = $val;
|
||||||
}
|
}
|
||||||
print $form->select_dolusers($search_valideur, "search_valideur", 1, "", 0, $valideurarray, '', 0, 0, 0, $morefilter, 0, '', 'maxwidth125');
|
print $form->select_dolusers($search_valideur, "search_valideur", 1, "", 0, $valideurarray, '', 0, 0, 0, $morefilter, 0, '', 'maxwidth125');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user