Changeset 247 for trunk/docs
- Timestamp:
- Apr 5, 2007 1:48:45 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/coding_standards.txt
r214 r247 232 232 } else { 233 233 // To be valid email address must match regex and fit within the lenth constraints. 234 if (preg_match($this->getParam('regex'), $email, $e_parts) && strlen($e_parts[2]) < 64 &&strlen($e_parts[3]) < 255) {234 if (preg_match($this->getParam('regex'), $email, $e_parts) && mb_strlen($e_parts[2]) < 64 && mb_strlen($e_parts[3]) < 255) { 235 235 return true; 236 236 } else {
Note: See TracChangeset
for help on using the changeset viewer.