CRM-16322 fix - Notice error on training demo
authormonishdeb <monish.deb@webaccessglobal.com>
Wed, 22 Apr 2015 06:47:38 +0000 (12:17 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Wed, 22 Apr 2015 06:47:38 +0000 (12:17 +0530)
https://issues.civicrm.org/jira/browse/CRM-16322

CRM/Event/Form/Task/SaveSearch.php

index 393167c0af93897c4f0e6a8dc047dec65602391b..cd3886579ec4d378c051b829df06379743b91045 100644 (file)
@@ -117,7 +117,6 @@ class CRM_Event_Form_Task_SaveSearch extends CRM_Event_Form_Task {
     $savedSearch = new CRM_Contact_BAO_SavedSearch();
     $savedSearch->id = $this->_id;
     $savedSearch->form_values = serialize($this->get('formValues'));
-    $savedSearch->mapping_id = $mappingId;
     $savedSearch->save();
     $this->set('ssID', $savedSearch->id);
     CRM_Core_Session::setStatus(ts("Your smart group has been saved as '%1'.", array(1 => $formValues['title'])), ts('Saved'), 'success');