summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 075b413)
raw | patch | inline | side by side (parent: 075b413)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 27 May 2005 17:15:52 +0000 (17:15 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 27 May 2005 17:15:52 +0000 (17:15 +0000) |
plugins/personal/posix/class_posixAccount.inc | patch | blob | history |
diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc
index 6a1ba43a83d01784fb39535f2cea9379e34702b6..55e8e9626d53cf76f2b7670ba8301cfe040abf11 100644 (file)
$smarty->assign("shells", $this->loginShellList);
$smarty->assign("secondaryGroups", $this->secondaryGroups);
$smarty->assign("primaryGroup", $this->primaryGroup);
- $smarty->assign("groupMembership", $this->groupMembership);
+ if (!count($this->groupMembership)){
+ $smarty->assign("groupMembership", array(""));
+ } else {
+ $smarty->assign("groupMembership", $this->groupMembership);
+ }
if (count($this->groupMembership) > 16){
$smarty->assign("groups", "too_many_for_nfs");
} else {