Mailer project continued (heavy refactoring):
[mailer.git] / inc / purge / purge-inact.php
index cd66947b06077a5fd4950bb17f8380dec482c806..da6b87a34e22b451430c3cef7defe743b38c1857 100644 (file)
@@ -111,7 +111,7 @@ ORDER BY
                } // END - while
 
                // Remove last comma
-               $content['userids'] = implode(chr(10), $userids);
+               $content['userids'] = implode(PHP_EOL, $userids);
 
                // Send mail notification to admin
                sendAdminNotification('{--ADMIN_AUTOPURGE_INACTIVE_SUBJECT--}', 'admin_autopurge_inactive', $content);
@@ -156,7 +156,7 @@ ORDER BY
                } // END - while
 
                // Display all userids
-               $useridsContent = implode(chr(10), $userids);
+               $useridsContent = implode(PHP_EOL, $userids);
 
                // Send mail notification to admin
                if (getConfig('ap_in_notify') == 'Y') {