fixed PHP notice

This commit is contained in:
Roland Gruber 2013-12-17 20:24:13 +00:00
parent 2ae6635e0f
commit 33bfa56ad0
2 changed files with 2 additions and 2 deletions

View File

@ -303,7 +303,7 @@ class kolabSharedFolder extends baseModule { // TODO folder type
$container->addElement($baseContainer, true); $container->addElement($baseContainer, true);
// mail aliases // mail aliases
$container->addElement(new htmlSubTitle(_('Email aliases')), true); $container->addElement(new htmlSubTitle(_('Email aliases')), true);
$this->addMultiValueInputTextField($container, 'alias'); $this->addMultiValueInputTextField($container, 'alias', null);
// delegates // delegates
$delegates = searchLDAPByAttribute('mail', '*', 'inetOrgPerson', array('mail'), array('user')); $delegates = searchLDAPByAttribute('mail', '*', 'inetOrgPerson', array('mail'), array('user'));
for ($i = 0; $i < sizeof($delegates); $i++) { for ($i = 0; $i < sizeof($delegates); $i++) {

View File

@ -318,7 +318,7 @@ class kolabUser extends baseModule {
$return->addElement($invitationContainer, true); $return->addElement($invitationContainer, true);
// mail aliases // mail aliases
$return->addElement(new htmlSubTitle(_('Email aliases')), true); $return->addElement(new htmlSubTitle(_('Email aliases')), true);
$this->addMultiValueInputTextField($return, 'alias'); $this->addMultiValueInputTextField($return, 'alias', null);
// delegates // delegates
$delegates = searchLDAPByAttribute('mail', '*', 'inetOrgPerson', array('mail'), array('user')); $delegates = searchLDAPByAttribute('mail', '*', 'inetOrgPerson', array('mail'), array('user'));
for ($i = 0; $i < sizeof($delegates); $i++) { for ($i = 0; $i < sizeof($delegates); $i++) {