mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:49:06 +01:00
Change link title so it can give the date for a particular recurrence, if the passed id is in the form CAL_ID-RECUR_DATE
This commit is contained in:
parent
26838d34a7
commit
49471c5e2b
@ -1666,7 +1666,12 @@ class calendar_bo
|
||||
*/
|
||||
function link_title($event)
|
||||
{
|
||||
if (!is_array($event) && (int) $event > 0)
|
||||
if (!is_array($event) && strpos($event, '-') !== false)
|
||||
{
|
||||
list($id, $recur) = explode('-', $event, 2);
|
||||
$event = $this->read($id, $recur);
|
||||
}
|
||||
else if (!is_array($event) && (int) $event > 0)
|
||||
{
|
||||
$event = $this->read($event);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user