Fix error when adding activities from Search Builder
[civicrm-core.git] / 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;
       }