summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/calendar/drivers/database/database_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/drivers/database/database_driver.php b/plugins/calendar/drivers/database/database_driver.php
index 1d5f081..d665e04 100644
--- a/plugins/calendar/drivers/database/database_driver.php
+++ b/plugins/calendar/drivers/database/database_driver.php
@@ -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));
}