diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc
index f931376497c9c963f0bfeccab889a3415c7af398..4587546aeb8efd6e1d58c963a4a1c3c0ff421b71 100644 (file)
function execute()
{
+ /* Call parent execute */
+ plugin::execute();
+
/* Load templating engine */
$smarty= get_smarty();
$display= "";
}
if (is_numeric($this->gosaMailQuota) && $this->gosaMailQuota != 0){
- $smarty->assign("quotausage", progressbar(($this->quotaUsage * 100)/ $this->gosaMailQuota,100,15,true));
+ $smarty->assign("quotausage", progressbar(round(($this->quotaUsage * 100)/ $this->gosaMailQuota,100,15,true)));
$smarty->assign("quotadefined", "true");
} else {
$smarty->assign("quotadefined", "false");
/* Optionally execute a command after we're done */
if ($this->initially_was_account == $this->is_account){
if ($this->is_modified){
- $this->handle_post_events("mofify");
+ $this->handle_post_events("modify");
}
} else {
$this->handle_post_events("add");