do not preset user selection for access rights

This commit is contained in:
Uwe Steinmann 2019-02-27 13:53:23 +01:00
parent 51c9236c7c
commit bf7cd09374

View File

@ -193,7 +193,7 @@ $(document).ready(function() {
$options[] = array(-1, getMLText('select_one'));
foreach ($allUsers as $currUser) {
if (!$currUser->isGuest())
$options[] = array($currUser->getID(), htmlspecialchars($currUser->getLogin()), ($currUser->getID()==$user->getID()), array(array('data-subtitle', htmlspecialchars($currUser->getFullName()))));
$options[] = array($currUser->getID(), htmlspecialchars($currUser->getLogin()), false, array(array('data-subtitle', htmlspecialchars($currUser->getFullName()))));
}
$this->formField(
getMLText("user"),