Skip to content

Commit

Permalink
Merge pull request #22707 from eileenmcnaughton/notice5
Browse files Browse the repository at this point in the history
Enotice fix
  • Loading branch information
colemanw authored Feb 6, 2022
2 parents 100f4a6 + 5a44798 commit c0ee618
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions CRM/Contact/Form/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -429,11 +429,8 @@ public function buildQuickForm() {
$ssID = CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Group', $this->_groupID, 'saved_search_id');
$this->assign('ssID', $ssID);

//get the saved search edit link
if ($ssID) {
$this->_ssID = $ssID;
$this->assign('editSmartGroupURL', CRM_Contact_BAO_SavedSearch::getEditSearchUrl($ssID));
}
$this->_ssID = $ssID;
$this->assign('editSmartGroupURL', $ssID ? CRM_Contact_BAO_SavedSearch::getEditSearchUrl($ssID) : FALSE);

// Set dynamic page title for 'Show Members of Group'
$this->setTitle(ts('Contacts in Group: %1', [1 => $this->_group[$this->_groupID]]));
Expand Down

0 comments on commit c0ee618

Please sign in to comment.