Code

Added empty lines
[gosa.git] / plugins / personal / mail / class_mailAccount.inc
index f931376497c9c963f0bfeccab889a3415c7af398..4587546aeb8efd6e1d58c963a4a1c3c0ff421b71 100644 (file)
@@ -174,6 +174,9 @@ class mailAccount extends plugin
 
   function execute()
   {
+       /* Call parent execute */
+       plugin::execute();
+
     /* Load templating engine */
     $smarty= get_smarty();
     $display= "";
@@ -441,7 +444,7 @@ class mailAccount extends plugin
     }
 
     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");
@@ -670,7 +673,7 @@ class mailAccount extends plugin
     /* 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");