Changeset 30866 for branches/2.6/include/functions.inc.php
- Timestamp:
- Jan 8, 2015, 2:11:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/include/functions.inc.php
r27044 r30866 1888 1888 } 1889 1889 1890 foreach ($param_value as $ item_to_check)1891 { 1892 if (!preg_match( $pattern, $item_to_check))1890 foreach ($param_value as $key => $item_to_check) 1891 { 1892 if (!preg_match(PATTERN_ID, $key) or !preg_match($pattern, $item_to_check)) 1893 1893 { 1894 1894 fatal_error('[Hacking attempt] an item is not valid in input parameter "'.$param_name.'"');
Note: See TracChangeset
for help on using the changeset viewer.