Skip to content
Snippets Groups Projects
Commit 5374538c authored by jaapjansma's avatar jaapjansma
Browse files

Merge branch 'fixfilterfunctionnotice' into 'master'

Fix definition of addToFilterForm function

See merge request !21
parents a043ea32 f284aa10
No related branches found
No related tags found
No related merge requests found
......@@ -167,10 +167,12 @@ class CaseRoleFilter extends AbstractFieldFilterHandler {
* Add the elements to the filter form.
*
* @param \CRM_Core_Form $form
* @param array $defaultFilterValue
*
* @return array
* Return variables belonging to this filter.
*/
public function addToFilterForm(\CRM_Core_Form $form) {
public function addToFilterForm(\CRM_Core_Form $form, $defaultFilterValue) {
$fieldSpec = $this->getFieldSpecification();
$operations = $this->getOperatorOptions($fieldSpec);
......
......@@ -154,10 +154,12 @@ class ContactInGroupFilter extends AbstractFieldFilterHandler {
* Add the elements to the filter form.
*
* @param \CRM_Core_Form $form
* @param array $defaultFilterValue
*
* @return array
* Return variables belonging to this filter.
*/
public function addToFilterForm(\CRM_Core_Form $form) {
public function addToFilterForm(\CRM_Core_Form $form, $defaultFilterValue) {
$fieldSpec = $this->getFieldSpecification();
$operations = $this->getOperatorOptions($fieldSpec);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment