diff --git a/lam/lib/modules/posixGroup.inc b/lam/lib/modules/posixGroup.inc
index c70eca41..497dd9c0 100644
--- a/lam/lib/modules/posixGroup.inc
+++ b/lam/lib/modules/posixGroup.inc
@@ -442,11 +442,16 @@ class posixGroup extends baseModule implements passwordService {
* @return array list of possible PDF entries
*/
function get_pdfEntries() {
+ $members = '';
+ if (isset($this->attributes['memberUid'][0])) {
+ $members = implode(', ', $this->attributes['memberUid']);
+ }
return array(
- get_class($this) . '_cn' => array('' . _('Group name') . '' . $this->attributes['cn'][0] . ''),
- get_class($this) . '_gidNumber' => array('' . _('GID number') . '' . $this->attributes['gidNumber'][0] . ''),
- get_class($this) . '_memberUid' => array('' . _('Group members') . '' . implode(', ', $this->attributes['memberUid']) . ''),
- get_class($this) . '_description' => array('' . _('Description') . '' . $this->attributes['description'][0] . ''));
+ get_class($this) . '_cn' => array('' . _('Group name') . '' . $this->attributes['cn'][0] . ''),
+ get_class($this) . '_gidNumber' => array('' . _('GID number') . '' . $this->attributes['gidNumber'][0] . ''),
+ get_class($this) . '_memberUid' => array('' . _('Group members') . '' . $members . ''),
+ get_class($this) . '_description' => array('' . _('Description') . '' . $this->attributes['description'][0] . '')
+ );
}