Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   [BUG] show only new entries, posted by Emiliano Gabrielli on Wed Jun 22 11:04:41 2005 
    icon4.gif   Re: [BUG] show only new entries, posted by Stefan Ritt on Fri Jun 24 22:44:03 2005 
       icon4.gif   Re: [BUG] show only new entries, posted by Emiliano Gabrielli on Mon Jun 27 15:09:12 2005 
          icon4.gif   Re: [BUG] show only new entries, posted by Emiliano Gabrielli on Mon Jul 4 12:16:13 2005 
             icon2.gif   Re: [BUG] show only new entries, posted by Stefan Ritt on Mon Jul 4 22:44:03 2005 
                icon2.gif   Re: [BUG] show only new entries, posted by Emiliano Gabrielli on Tue Jul 5 11:32:34 2005 
                   icon2.gif   Re: [BUG] show only new entries, posted by Stefan Ritt on Tue Jul 5 11:51:14 2005 
Message ID: 1225     Entry time: Tue Jul 5 11:32:34 2005     In reply to: 1224     Reply to this: 1226
Icon: Reply  Author: Emiliano Gabrielli  Author Email: AlberT@SuperAlberT.it 
Category: Bug report  OS: All  ELOG Version: 2.6.0beta2 
Subject: Re: [BUG] show only new entries 

Stefan Ritt wrote:

Emiliano Gabrielli wrote:
Just tested the rev 1.686 .. now the link is displayed, but following the "Show only last" link the "attach=1" setting in the URL I use is removed, not being able to have inline attachment in full view. They are displayed again when turning back to "Show all entries"


I tried to fix this in the current CVS. Can you give it a try?


the following patch has to be applied over the one of you to complete it Smile
diff -u -r1.691 elogd.c
--- src/elogd.c 4 Jul 2005 21:12:58 -0000       1.691
+++ src/elogd.c 5 Jul 2005 09:29:57 -0000
@@ -16728,7 +16728,7 @@

    /*---- apply last login cut ----*/

-   if (isparam("new_entries") && isparam("unm"))
+   if (isparam("new_entries") && atoi(getparam("new_entries")) == 1 && isparam("unm"))
       get_user_line(lbs, getparam("unm"), NULL, NULL, NULL, NULL, &ltime_start);

    /*---- assemble message list ----*/
ELOG V3.1.5-fe60aaf