Code

Fixed undefined index
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Nov 2005 09:43:04 +0000 (09:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Nov 2005 09:43:04 +0000 (09:43 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2018 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/addons/mailqueue/class_mailqueue.inc

index b464958535970ae2b568744627685cce583a578e..6636b3b7dc56c01fccc2e56e7bf0aeeb2a9db793 100644 (file)
@@ -220,6 +220,9 @@ class mailqueue extends plugin
 
     if($error){  
       $smarty->assign("all_ok"        , "false");
+      $smarty->assign("r_stats"         , $this->getStats());
+      $smarty->assign("stats"       , array_flip($this->getStats()));
+      $smarty->assign("stat"          , $this->Stat);
       $smarty->assign("plug"          , "?plug=".$_GET['plug']);
       $smarty->assign("p_server"      , $this->Server);
       $smarty->assign("p_servers"     , $this->getServer());