X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Frallye_functions.php;h=25687437bbe52f46c72c940dddb314e247ee224d;hb=b4784eb7267921f162d2fa90d21fa20fad700962;hp=11bb77c79036733fc82f1f22c378dd593a5709b1;hpb=9fb328e0aa7cd605f2f89e85640815da300a9eb2;p=mailer.git diff --git a/inc/libs/rallye_functions.php b/inc/libs/rallye_functions.php index 11bb77c790..25687437bb 100644 --- a/inc/libs/rallye_functions.php +++ b/inc/libs/rallye_functions.php @@ -174,7 +174,7 @@ WHERE function addReferralRallyePrices ($rallye, $mode = 'email') { // Output mode switch($mode) { - case 'email': $mode = chr(10); break; + case 'email': $mode = PHP_EOL; break; case 'html' : $mode = '
'; break; } // END - switch @@ -195,7 +195,7 @@ ORDER BY if (!SQL_HASZERONUMS($result_prices)) { // Load prices $prices = ''; - if ($mode == chr(10)) { + if ($mode == PHP_EOL) { $prices = '{--RALLYE_MEMBER_PRICES_ADDED--}:' . $mode . '------------------------------' . $mode; } // END - if @@ -217,7 +217,7 @@ ORDER BY } // Add last line for email mode - if ($mode == chr(10)) { + if ($mode == PHP_EOL) { $prices .= '------------------------------'; } // END - if