X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fdaily%2Fdaily_profile.php;h=b32f46c8051d02c85d13d5c2e48c58d034904581;hp=8d83be5500bdf5cf56cc12edb021a7eb09e0e225;hb=d6417790061e18fc1a9770ff93bb4e9d106b2f6e;hpb=fdd91229876f36f9ebb17680592a943ad219f726 diff --git a/inc/daily/daily_profile.php b/inc/daily/daily_profile.php index 8d83be5500..b32f46c805 100644 --- a/inc/daily/daily_profile.php +++ b/inc/daily/daily_profile.php @@ -53,7 +53,10 @@ if (!defined('__SECURITY')) { if ((isSendProfileUpdateEnabled()) && (getProfileUpdate() > 0) && (getResendProfileUpdate() > 0)) { // Load personal data $result = SQL_QUERY("SELECT - `userid`, `email`, `last_update`, `joined` + `userid`, + `email`, + `last_update`, + `joined` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE @@ -76,14 +79,14 @@ ORDER BY // We need to send-out notifications... while ($content = SQL_FETCHARRAY($result)) { // Translate timestamp - $content['joined'] = generateDateTime($content['joined'], 0); + $content['joined'] = generateDateTime($content['joined'], '0'); if (round($content['last_update']) == '0') { // Has never changed his accont $content['last_update'] = '{--MEMBER_PROFILE_NEVER_CHANGED--}'; } else { // Has changed his account - $content['last_update'] = generateDateTime($content['last_update'], 0); + $content['last_update'] = generateDateTime($content['last_update'], '0'); } // Load email template and send mail away