Ignore:
Timestamp:
Dec 18, 2013 7:49:24 PM (11 years ago)
Author:
anonymous
Message:

minor changes to tests to get them working. you need to add a symbolic link to the codebase directory inside the tests directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eli_branch/lib/Validator.inc.php

    r447 r450  
    138138     * @return bool   true if value passes regex test
    139139     */
    140     public function checkRegex($val, $regex, $valid_on_match=true)
     140    public function checkRegex($val, $regex, $valid_on_match=true, $msg='')
    141141    {
    142142        return $valid_on_match ? preg_match($regex, $val) : !preg_match($regex, $val);
Note: See TracChangeset for help on using the changeset viewer.