Changeset 479 for trunk/lib/Validator.inc.php
- Timestamp:
- May 3, 2014 11:09:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Validator.inc.php
r470 r479 251 251 static public function validateStrDate($val) 252 252 { 253 254 255 256 253 if (is_string($val) && '' === trim($val)) { 254 // Don't be too bothered about empty strings. 255 return true; 256 } 257 257 258 258 $timestamp = strtotime($val);
Note: See TracChangeset
for help on using the changeset viewer.