Skip to content

Default Quota not populated when mailbox is created #249

@maysara

Description

@maysara

It seems that the quota defined for domain is not being populated correctly in the mailbox form (shows up always as 0), I guess this has been reported earlier in various issues, last thing I found somehow relevant was #38 , the below change fixed it for me ... but I'm not sure if this is indeed the correct change.

 +++ application/controllers/MailboxController.php        2018-08-01 21:56:44.474502379 +0200
 @@ -206,7 +206,7 @@
                 $form->removeElement( 'domain'     );
             }
             else
 -                $form->getElement( "quota"  )->setValue( 0 );
 +                $form->getElement( "quota"  )->setValue( $this->getDomain()->getQuota() );

             $this->view->form = $this->mailboxForm = $form;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions