X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Freset%2Freset_profile.php;h=94bdeead11e42321d8d081747f23970aad614be4;hb=9afd6ec5878544a7982c50ed9c0dd7de37606d5b;hp=9e8a052dccc126bfde96ba5b91467520d0cdbf60;hpb=643108b2b1fd7d1b2d67abdc5e97dff48258e3cc;p=mailer.git diff --git a/inc/reset/reset_profile.php b/inc/reset/reset_profile.php index 9e8a052dcc..94bdeead11 100644 --- a/inc/reset/reset_profile.php +++ b/inc/reset/reset_profile.php @@ -56,7 +56,7 @@ FROM WHERE (`last_update` < (UNIX_TIMESTAMP() - %s) AND `last_update` != 0 AND `last_profile_sent` < (UNIX_TIMESTAMP() - %s)) OR - (`last_update` = 0 AND `last_profile_sent` = 0 AND `joined` < (UNIX_TIMESTAMP() - %s)) + (`last_update` = '0' AND `last_profile_sent` = '0' AND `joined` < (UNIX_TIMESTAMP() - %s)) ORDER BY `userid` ASC", array( @@ -72,7 +72,7 @@ ORDER BY // Translate timestamp $content['joined'] = generateDateTime($content['joined'], 0); - if (round($content['last_update']) == 0) { + if (round($content['last_update']) == '0') { // Has never changed his accont $content['last_update'] = getMessage('PROFILE_NEVER_CHANGED'); } else {