sort receipients (RFE 3170336)
This commit is contained in:
parent
c8ec78398d
commit
70310f29e8
|
@ -3,7 +3,7 @@
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||||
Copyright (C) 2004 - 2010 Roland Gruber
|
Copyright (C) 2004 - 2011 Roland Gruber
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -146,6 +146,8 @@ class nisMailAlias extends baseModule {
|
||||||
// list current recipients
|
// list current recipients
|
||||||
$recipientCount = 0;
|
$recipientCount = 0;
|
||||||
if (isset($this->attributes['rfc822MailMember'])) {
|
if (isset($this->attributes['rfc822MailMember'])) {
|
||||||
|
natcasesort($this->attributes['rfc822MailMember']);
|
||||||
|
$this->attributes['rfc822MailMember'] = array_values($this->attributes['rfc822MailMember']);
|
||||||
$recipientCount = sizeof($this->attributes['rfc822MailMember']);
|
$recipientCount = sizeof($this->attributes['rfc822MailMember']);
|
||||||
for ($i = 0; $i < sizeof($this->attributes['rfc822MailMember']); $i++) {
|
for ($i = 0; $i < sizeof($this->attributes['rfc822MailMember']); $i++) {
|
||||||
$return->addElement(new htmlOutputText(_('Recipient')));
|
$return->addElement(new htmlOutputText(_('Recipient')));
|
||||||
|
|
Loading…
Reference in New Issue