From 8ae0a652137dc133865fb1e2839aa41d1ee0fb88 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 22 Sep 2005 16:30:21 +0000 Subject: [PATCH] =?utf8?q?Bugfix.=20En=20el=20log=20pon=C3=ADa=20"Nuevo=20?= =?utf8?q?mail=20[subject]=20de=20[subject]"=20en=20vez=20"...de=20[from]"?= =?utf8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/sc_fetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.43.0