registerOutputFailedMessage('ENTER_PASSWORD2');
}
- if ((isset($GLOBALS['registration_short_password'])) && ($GLOBALS['registration_short_password'] === TRUE)) {
- registerOutputFailedMessage('GUEST_SHORT_PASS', ': ' . getPassLen());
+ if ((isset($GLOBALS['registration_weak_password'])) && ($GLOBALS['registration_weak_password'] === TRUE)) {
+ registerOutputFailedMessage('GUEST_WEAK_PASSWORD');
} // END - if
if ((isset($GLOBALS['registration_ip_timeout'])) && ($GLOBALS['registration_ip_timeout'] === TRUE)) {
// ZIP codes are numerical values
$content['zip'] = '';
- if ((isPostRequestElementSet('zip')) && (postRequestElement('zip') > 0)) {
+ if ((isPostRequestElementSet('zip')) && (isValidNumber(postRequestElement('zip')))) {
$content['zip'] = bigintval(postRequestElement('zip'));
} // END - if