Skip to content

Commit

Permalink
Merge pull request #127 from Spiral23/dev
Browse files Browse the repository at this point in the history
Fix bug on restore mailbox (delete_pending was Null in database)
  • Loading branch information
barryo committed Apr 4, 2016
2 parents ddf8963 + f349bb7 commit 87bf5d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/controllers/ArchiveController.php
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,7 @@ private function _unserialzeMailbox( $data )
$mailbox->setGid( $params['gid'] );
$mailbox->setHomedirSize( $params['homedir_size'] );
$mailbox->setMaildirSize( $params['maildir_size'] );
$mailbox->setDeletePending( $params['delete_pending'] );
$mailbox->setCreated( new \DateTime( $params['created']['date'] ) );
$mailbox->setSizeAt( new \DateTime( $params['size_at']['date'] ) );
$mailbox->setModified( new \DateTime() );
Expand Down

0 comments on commit 87bf5d8

Please sign in to comment.