Changeset 5913 for trunk/phpgwapi/inc/class.validator.inc.php
- Timestamp:
- 04/11/12 12:07:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.validator.inc.php
r2 r5913 29 29 function has_space ($text) 30 30 { 31 return ereg("( |\n|\t|\r)+", $text);31 return preg_match('/( |\n|\t|\r)+/', $text); 32 32 } 33 33
Note: See TracChangeset
for help on using the changeset viewer.