Changeset 4750

Show
Ignore:
Timestamp:
08/07/08 18:44:03 (11 months ago)
Author:
jwage
Message:

fixes #1244

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/lib/Doctrine/Validator/Range.php

    r3884 r4750  
    4141    public function validate($value) 
    4242    { 
     43        if (is_null($value)) { 
     44            return true; 
     45        } 
    4346        if (isset($this->args[0]) && $value < $this->args[0]) { 
    4447            return false;