X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fwrapper-functions.php;h=ba56fb2c8e3e9d5bab2e12f2020d764694fc292a;hp=c8b651cf2196a4f1cf76eb087267ddf136b43ac8;hb=7052cc3bd3ca07281078acbbce6ce595d753def1;hpb=e91b46ac59679cee1644aa6eb947b490b0ecd9ef diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index c8b651cf21..ba56fb2c8e 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -2789,7 +2789,7 @@ function ifUserPointsLocked ($userid) { // This function does always add a new-line character to every line. function appendLineToFile ($file, $line) { $fp = fopen($file, 'a') or reportBug(__FUNCTION__, __LINE__, 'Cannot write to file ' . basename($file) . '!'); - fwrite($fp, $line . chr(10)); + fwrite($fp, $line . PHP_EOL); fclose($fp); }