mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
handle calendar replacements (search for events) only when there are calendar replacements required
This commit is contained in:
parent
4e8acf09a6
commit
45a3ae7115
@ -45,9 +45,9 @@ class addressbook_merge extends bo_merge
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (strpos($content,'$$calendar/') !== null)
|
if (!(strpos($content,'$$calendar/') === false))
|
||||||
{
|
{
|
||||||
$replacements += $this->calendar_replacements($id,strpos($content,'$$calendar/-1/') !== null);
|
$replacements += $this->calendar_replacements($id,!(strpos($content,'$$calendar/-1/') === false));
|
||||||
}
|
}
|
||||||
return $replacements;
|
return $replacements;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user