Changeset 597 for trunk/lib/Validator.inc.php
- Timestamp:
- Apr 27, 2017 2:54:30 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.