Don't list birthday events when searching
This commit is contained in:
parent
d892b78025
commit
900aeb7374
1 changed files with 1 additions and 1 deletions
|
@ -836,7 +836,7 @@ class database_driver extends calendar_driver
|
|||
}
|
||||
|
||||
// add events from the address books birthday calendar
|
||||
if (in_array(self::BIRTHDAY_CALENDAR_ID, $calendars)) {
|
||||
if (in_array(self::BIRTHDAY_CALENDAR_ID, $calendars) && empty($query)) {
|
||||
$events = array_merge($events, $this->load_birthday_events($start, $end, $search, $modifiedsince));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue