mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 01:48:35 +01:00
fixed Call-time pass-by-reference
This commit is contained in:
parent
2c1197d9dc
commit
34124b2845
@ -1636,7 +1636,7 @@
|
||||
$second = (int)(strrev(substr($time,0,2)));
|
||||
$minute = (int)(strrev(substr($time,2,2)));
|
||||
$hour = (int)(strrev(substr($time,4)));
|
||||
$hour += $this->normalizeminutes(&$minute);
|
||||
$hour += $this->normalizeminutes($minute);
|
||||
$temp['second'] = $second;
|
||||
$temp['minute'] = $minute;
|
||||
$temp['hour'] = $hour;
|
||||
@ -2185,7 +2185,7 @@
|
||||
{
|
||||
if ($cat)
|
||||
{
|
||||
$event['category'][$cat] = $GLOBALS['phpgw']->categories->id2name($cat);
|
||||
$event['category'][$cat] = stripslashes($GLOBALS['phpgw']->categories->id2name($cat));
|
||||
}
|
||||
}
|
||||
return $event;
|
||||
|
Loading…
Reference in New Issue
Block a user