Changeset 1478385
- Timestamp:
- 08/19/2016 04:29:38 AM (10 years ago)
- File:
-
- 1 edited
-
safly-cloud-protection/trunk/wrapper.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
safly-cloud-protection/trunk/wrapper.php
r1478382 r1478385 165 165 function SaFly_Exclude_Keyword($str, $option) 166 166 { 167 $option = explode(',', $option); 168 foreach ($option as $value) { 169 $option_tmp = strstr($str, $value); 170 if ($option_tmp) { 171 return TRUE; 167 if (!empty($option)) { 168 $option = explode(',', $option); 169 foreach ($option as $value) { 170 $option_tmp = strstr($str, $value); 171 if ($option_tmp) { 172 return TRUE; 173 } 172 174 } 173 175 }
Note: See TracChangeset
for help on using the changeset viewer.