CRM-13455 improve getEvents query to account for empty end_date
Merge pull request #1707 from lcdservices/CRM-13455

CRM-13455 improve getEvents query to account for empty end_date