alecpl
2008-11-12 146977e30e81b6098e2f40f2879c219b695439a5
- fix doubled timestamp in sendmail log


1 files modified
3 ■■■■ changed files
program/steps/mail/func.inc 3 ●●●● patch | view | raw | blame | history
program/steps/mail/func.inc
@@ -1208,8 +1208,7 @@
    unset($headers['Return-Receipt-To'], $headers['Disposition-Notification-To']);
    
    if ($CONFIG['smtp_log'])
      write_log('sendmail', sprintf("[%s] User: %s on %s; Message for %s; %s",
        date("d-M-Y H:i:s O", mktime()),
      write_log('sendmail', sprintf("User %s [%s]; Message for %s; %s",
        $RCMAIL->user->get_username(),
        $_SERVER['REMOTE_ADDR'],
        $mailto,