- Timestamp:
- Apr 27, 2017 2:54:30 PM (7 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FormValidator.inc.php
r561 r597 309 309 310 310 /* 311 * We were using the isEmpty method *wrong* for years and should have been using notEmpty bec uase it is more grammatically correct.311 * We were using the isEmpty method *wrong* for years and should have been using notEmpty because it is more grammatically correct. 312 312 * Because the only use is to ensure a value is not empty, we're simply going to alias this method to notEmpty(). 313 313 * @since 03 Jun 2006 22:56:46 -
trunk/lib/Validator.inc.php
r593 r597 69 69 return true; 70 70 } else { 71 $app->logMsg(sprintf('%s (line %s) failed: %s', __METHOD__, __LINE__, getDump($val)), $type, $file, $line);72 71 return false; 73 72 } … … 76 75 return true; 77 76 } else { 78 $app->logMsg(sprintf('%s (line %s) failed: %s', __METHOD__, __LINE__, getDump($val)), $type, $file, $line);79 77 return false; 80 78 } … … 83 81 84 82 /* 85 * We were using the isEmpty method *wrong* for years and should have been using notEmpty bec uase it is more grammatically correct.83 * We were using the isEmpty method *wrong* for years and should have been using notEmpty because it is more grammatically correct. 86 84 * Because the only use is to ensure a value is not empty, we're simply going to alias this method to notEmpty(). 87 85 *
Note: See TracChangeset
for help on using the changeset viewer.