mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
init options to empty array for list of users
This commit is contained in:
parent
33fe05fc6e
commit
f1211f6c80
|
@ -462,6 +462,7 @@ $(document).ready( function() {
|
|||
else
|
||||
$userids = [$task->getParameter()[$param['name']]];
|
||||
$users = $dms->getAllUsers();
|
||||
$options = [];
|
||||
foreach ($users as $currUser) {
|
||||
if (!$currUser->isGuest())
|
||||
$options[] = array($currUser->getID(), htmlspecialchars($currUser->getLogin().' - '.$currUser->getFullName()), in_array($currUser->getID(), $userids), array(array('data-subtitle', htmlspecialchars($currUser->getEmail()))));
|
||||
|
|
Loading…
Reference in New Issue
Block a user