Merge pull request #15522 from MegaphoneJon/core-1323
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 16 Oct 2019 20:23:39 +0000 (09:23 +1300)
committerGitHub <noreply@github.com>
Wed, 16 Oct 2019 20:23:39 +0000 (09:23 +1300)
Fix error when adding activities from Search Builder

CRM/Activity/Form/Activity.php

index e572fecd8639094a3f74b29e33895d0e00d4a425..37e37d7357411f4475b9f5cb1e4fb3753d807f8c 100644 (file)
@@ -437,6 +437,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
         || $path == 'civicrm/contact/search/advanced'
         || $path == 'civicrm/contact/search/custom'
         || $path == 'civicrm/group/search'
+        || $path == 'civicrm/contact/search/builder'
       ) {
         $urlString = $path;
       }