Commit 16b2bc5b authored by eileen's avatar eileen

Fix notice on first loading activity search form

parent 777612b3
......@@ -413,7 +413,7 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search {
* reference to the array of default values
*/
public function setDefaultValues() {
return array_merge($this->getEntityDefaults($this->getDefaultEntity()), $this->_formValues);
return array_merge($this->getEntityDefaults($this->getDefaultEntity()), (array) $this->_formValues);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment