Changeset 5281 for trunk/calendar/inc/class.bocalendar.inc.php
- Timestamp:
- 12/21/11 18:42:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.bocalendar.inc.php
r5132 r5281 192 192 $owner = get_var('owner',array('GET','POST'),$GLOBALS['owner']); 193 193 194 ereg('menuaction=([a-zA-Z.]+)',$_SERVER['HTTP_REFERER'],$regs);194 preg_match('/menuaction=([a-zA-Z.]+)/',$_SERVER['HTTP_REFERER'],$regs); 195 195 $from = $regs[1]; 196 196 if ((substr($_SERVER['PHP_SELF'],-8) == 'home.php' && substr($this->prefs['calendar']['defaultcalendar'],0,7) == 'planner' … … 3539 3539 3540 3540 3541 list($subject,$body1) = split("\n",$GLOBALS['phpgw']->preferences->parse_notify($notify_msg,$details),2);3541 list($subject,$body1) = preg_split('/\n/',$GLOBALS['phpgw']->preferences->parse_notify($notify_msg,$details),2); 3542 3542 3543 3543 switch($part_prefs['calendar']['update_format']) … … 3791 3791 $details['startdate'] = $GLOBALS['phpgw']->common->show_date($starttime); 3792 3792 $details['enddate'] = $GLOBALS['phpgw']->common->show_date($endtime); 3793 list($subject,$body1) = split("\n",$GLOBALS['phpgw']->preferences->parse_notify($notify_msg,$details),2);3793 list($subject,$body1) = preg_split('/\n/',$GLOBALS['phpgw']->preferences->parse_notify($notify_msg,$details),2); 3794 3794 } 3795 3795
Note: See TracChangeset
for help on using the changeset viewer.