Changeset 7850
- Timestamp:
- 06/20/09 17:03:39 (1 year ago)
- Files:
-
- modules/branches/2.6/sipsettings/functions.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.6/sipsettings/functions.inc.php
r7845 r7850 79 79 function is_alphanumeric($value, $item, $message) { 80 80 $value = trim($value); 81 if ($value != '' && !preg_match("/^\s*([a-zA-Z0-9 .&-@=_!<>!\"\']+)\s*$/",$value,$matches)) {81 if ($value != '' && !preg_match("/^\s*([a-zA-Z0-9.&\-@_!<>!\"\']+)\s*$/",$value,$matches)) { 82 82 $this->errors[] = array('id' => $item, 'value' => $value, 'message' => $message); 83 83 }
