Changeset 611 for trunk/Common/Form
- Timestamp:
- Dec 16, 2013, 10:45:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Form/Types/Integer.php
r607 r611 27 27 { 28 28 if($Item['Null'] and ($Item['Value'] == '')) return(true); 29 return( filter_var($Item['Value'], FILTER_VALIDATE_INT));29 return(preg_match('/^\-*[0-9\.]+$/', $Item['Value'])); 30 30 } 31 31
Note:
See TracChangeset
for help on using the changeset viewer.