*** vacation.php  2011-07-21 11:05:51.000000000 +0100
--- vacation.php  2011-07-21 11:02:25.000000000 +0100
***************
*** 56,61 ****
--- 56,75 ----
  /* Perform requested actions. */
  if ($form->validate($vars)) {
      $form->getInfo($vars, $info);
+     if(isset($info['addresses'])){
+         $tmp_arr=split('[;,]',$info['addresses']);
+         $tmp_arr=array_map('trim',$tmp_arr);
+         $info['addresses']=join("\n",$tmp_arr);
+         unset($tmp_arr);
+         $vars->set('addresses',$info['addresses']);
+     }
+     if(isset($info['excludes'])){
+         $tmp_arr=split('[;,]',$info['excludes']);
+         $tmp_arr=array_map('trim',$tmp_arr);
+         $info['excludes']=join("\n",$tmp_arr);
+         unset($tmp_arr);
+         $vars->set('excludes',$info['excludes']);
+     }
      $vacation->setVacationAddresses(isset($info['addresses']) ? $info['addresses'] : '');
      $vacation->setVacationDays($info['days']);
      $vacation->setVacationExcludes($info['excludes']);