X-Git-Url: https://git.llucax.com/software/sercom-old.git/blobdiff_plain/0b7153a0b2a86f6ff71256b4eac7434d6c5bf1bd..8ae0a652137dc133865fb1e2839aa41d1ee0fb88:/src/sc_fetch diff --git a/src/sc_fetch b/src/sc_fetch index aea08d4..7b82bf9 100755 --- a/src/sc_fetch +++ b/src/sc_fetch @@ -90,7 +90,7 @@ while (1) { $mbox_errcount = 0; logs('Conectado como '.@$mconf['user']." a $mailbox", DEBUG); if (imap_num_msg($mbox) and $hdr = imap_headerinfo($mbox, 1)) { - logs(sprintf("Nuevo mail '%s' de %s", decode_header($hdr->subject), decode_header($hdr->subject))); + logs(sprintf("Nuevo mail '%s' de %s", decode_header($hdr->subject), decode_header($hdr->from))); @list($padron, $ej, $ent, $codigo) = validar_cabecera($hdr); if ($padron) { logs('Cabecera vĂ¡lida', DEBUG);