e-mail notification on new appts was sending wrong appt

This commit is contained in:
alpeb 2004-01-26 01:25:02 +00:00
parent bad48061c2
commit 7a2b6dfade

View File

@ -2029,6 +2029,7 @@
} }
$cache_start = (int)(sprintf("%04d%02d%02d",$syear,$smonth,$sday)); $cache_start = (int)(sprintf("%04d%02d%02d",$syear,$smonth,$sday));
$cached_event=$this->get_cached_event();
if($c_cached_ids) if($c_cached_ids)
{ {
for($i=0;$i<$c_cached_ids;$i++) for($i=0;$i<$c_cached_ids;$i++)
@ -2122,6 +2123,7 @@
} }
} }
//echo "store_to_cache(".print_r($params,True).")=<pre>".print_r($retval,True)."</pre>\n"; //echo "store_to_cache(".print_r($params,True).")=<pre>".print_r($retval,True)."</pre>\n";
$this->so->cal->event = $cached_event;
return $retval; return $retval;
} }