Changeset 3340

Show
Ignore:
Timestamp:
08/16/2008 07:55:29 PM (4 months ago)
Author:
Shadowhand
Message:

Why was that ever preg_quote'd? Doh!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Validation.php

    r3326 r3340  
    768768        public function chars($value, array $chars) 
    769769        { 
    770                 return ! preg_match('![^'.preg_quote(implode(',', $chars)).']!', $value); 
     770                return ! preg_match('![^'.implode('', $chars).']!', $value); 
    771771        } 
    772772