Parcourir la source

Update filter.inc.php

tags/6.5.8
tianya il y a 3 mois
Parent
révision
0321cd7fd7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/system/filter.inc.php

+ 1
- 1
src/system/filter.inc.php Voir le fichier

@@ -25,7 +25,7 @@ function _FilterAll($fk, &$svar)
$svar[$_k] = _FilterAll($fk, $_v);
}
} else {
if (preg_match("#".$cfg_notallowstr."#i", $svar)) {
if ($cfg_notallowstr != '' && preg_match("#".$cfg_notallowstr."#i", $svar)) {
ShowMsg("{$fk}字段中包含禁用词", '-1');
exit();
}


Chargement…
Annuler
Enregistrer