} // END - if
// Remove new-line and carriage-return characters
- $TEST = str_replace(array(chr(10), chr(13)), array('', ''), postRequestElement('text'));
+ $TEST = str_replace(array(PHP_EOL, chr(13)), array('', ''), postRequestElement('text'));
// Text length within allowed length?
if (strlen($TEST) > getConfig('max_tlength')) {
// Default is no ZIP code
$content['zip_content'] = '';
- // Do we want ZIP code or not?
+ // Is sending to ZIP code enabled? (logged-in admin can always send to it)
if ((isOrderMultiPageEnabled()) || (isAdmin())) {
// Yes
if (postRequestElement('zip') > 0) {