Browse Source

#411 Searchable fields: correct checking for saving parameter

Alex Trofimov 10 years ago
parent
commit
98c4ebedcb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/base/general/classes/BxBaseModGeneralAlertsResponse.php

+ 1 - 1
modules/base/general/classes/BxBaseModGeneralAlertsResponse.php

@@ -24,7 +24,7 @@ class BxBaseModGeneralAlertsResponse extends BxDolAlertsResponse
     {
         $CNF = $this->_oModule->_oConfig->CNF;
 
-        if (isset($CNF['PARAM_SEARCHABLE_FIELDS']) && 'system' == $oAlert->sUnit && 'save_setting' == $oAlert->sAction)
+        if (isset($CNF['PARAM_SEARCHABLE_FIELDS']) && $CNF['PARAM_SEARCHABLE_FIELDS'] == $oAlert->aExtras['option'] && 'system' == $oAlert->sUnit && 'save_setting' == $oAlert->sAction)
             $this->_oModule->_oDb->alterFulltextIndex();
     }
 }