Regression: Custom searches no longer work
Introduced by this commit. It's a pretty common-sense cleanup to not pass a null array when it's an optional parameter defaulted to NULL. However, in one of the methods,
CRM_Core_DAO::composeQuery the parameter wasn't defined as optional.
If one looks at that commit and looks at this one, this should be a fairly easy fix to review.