From 16b2bc5b7ad2a98dfe2d9a5f3a871b0c438aa529 Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 2 Jan 2019 13:44:02 +1300 Subject: [PATCH] Fix notice on first loading activity search form --- CRM/Activity/Form/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Activity/Form/Search.php b/CRM/Activity/Form/Search.php index 7e177c5a7098..f59e18c13b8d 100644 --- a/CRM/Activity/Form/Search.php +++ b/CRM/Activity/Form/Search.php @@ -413,7 +413,7 @@ public function getFormValues() { * 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); } /**