Changeset 7850

Show
Ignore:
Timestamp:
06/20/09 17:03:39 (1 year ago)
Author:
p_lindheimer
Message:

fixed typo in regex

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6/sipsettings/functions.inc.php

    r7845 r7850  
    7979  function is_alphanumeric($value, $item, $message) { 
    8080    $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)) { 
    8282      $this->errors[] = array('id' => $item, 'value' => $value, 'message' => $message); 
    8383    }