mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 13:03:16 +01:00
- Fix $$Recurrence$$ notification placeholder to be empty (not missing) for non-recurring events
- Avoid warning in get_link_options by making unused parameter optional
This commit is contained in:
parent
8989730c56
commit
579b202001
@ -1834,7 +1834,7 @@ class calendar_bo
|
|||||||
* @param type $event
|
* @param type $event
|
||||||
* @return array array of selected calendar fields
|
* @return array array of selected calendar fields
|
||||||
*/
|
*/
|
||||||
function get_link_options ($event)
|
function get_link_options ($event = array())
|
||||||
{
|
{
|
||||||
$options = array (
|
$options = array (
|
||||||
'end' => lang('End date'),
|
'end' => lang('End date'),
|
||||||
|
@ -1775,13 +1775,10 @@ class calendar_boupdate extends calendar_bo
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Repeated Events
|
// Repeated Events
|
||||||
if($event['recur_type'] != MCAL_RECUR_NONE)
|
$var['recur_type'] = Array(
|
||||||
{
|
'field' => lang('Repetition'),
|
||||||
$var['recur_type'] = Array(
|
'data' => ($event['recur_type'] != MCAL_RECUR_NONE) ? $this->recure2string($event) : '',
|
||||||
'field' => lang('Repetition'),
|
);
|
||||||
'data' => $this->recure2string($event),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
return $var;
|
return $var;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user