Changeset 10819 for OpenPNE3/trunk/lib/validator/opValidatorDate.class.php
- Timestamp:
- Feb 20, 2009, 11:59:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE3/trunk/lib/validator/opValidatorDate.class.php
r10003 r10819 95 95 } 96 96 97 if (strlen((int)$value['year']) > 4) 98 { 99 throw new sfValidatorError($this, 'invalid', array('value' => $value)); 100 } 101 97 102 if (!checkdate(intval($value['month']), intval($value['day']), intval($value['year']))) 98 103 {
Note: See TracChangeset
for help on using the changeset viewer.