fix for group of names membership removal

This commit is contained in:
Roland Gruber 2012-04-23 17:52:19 +00:00
parent 9276e3008a
commit 19ccf0bcda
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ class user extends baseType {
$dialog .= '<td><img alt="" src="../../graphics/groupBig.png"></td>';
$dialog .= '<td>' . _('Remove from all Unix groups') . '</td>';
}
if (posixAccount::areGroupOfNamesActive()) {
if ($unixAvailable && posixAccount::areGroupOfNamesActive()) { // check unixAvailable because Unix module removes group memberships
$dialog .= '<tr><td><input type="checkbox" name="lam_accountStatusRemoveGONGroups" checked="checked"></td>';
$dialog .= '<td><img alt="" src="../../graphics/groupBig.png"></td>';
$dialog .= '<td>' . _('Remove from all group of (unique) names') . '</td>';