Your message dated Tue, 5 Feb 2008 02:39:37 +0100
with message-id <[EMAIL PROTECTED]>
and subject line [pkg-horde] Bug#464049: kronolith2: Summary block shows too 
many days
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: kronolith2
Version: 2.1.4-1
Severity: normal
Tags: patch

The agenda summary block for use in the Horde portal shows to many days.
After comparing /usr/share/horde3/kronolith/lib/Block/summary.php with 
the file from Horde's Groupware Webmail edition 1.01 I noticed the bug 
had been fixed there ($today was being added twice).

Here's my patch:

# diff summary.2.1.4-1.php summary.php
83c83
<         for ($i = $today; $i < $today + $iMax; $i++) {
---
>         for ($i = $today; $i < $iMax; $i++) {


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)



--- End Message ---
--- Begin Message ---
Version: 2.1.5-1

Hello,

On Mon, Feb 04, 2008 at 10:30:54PM +0100, Peter Paul Elfferich wrote:
> 
> The agenda summary block for use in the Horde portal shows to many days.
> After comparing /usr/share/horde3/kronolith/lib/Block/summary.php with 
> the file from Horde's Groupware Webmail edition 1.01 I noticed the bug 
> had been fixed there ($today was being added twice).

Thanks for your report!
This bug is corrected in 2.1.5-1 (now testing/unstable):

--8<--
/tmp/kronolith2-2.1.5$ sed -n '82,84p' ./lib/Block/summary.php
        $firstday = true;
        for ($i = $today; $i < $iMax; ++$i) {
            $day = &new Kronolith_Day(date('n'), $i);
--8<--

Of course, this bug is not RC and can't go to etch-proposed-updates.


Regards,
-- 
Gregory Colpart <[EMAIL PROTECTED]>  GnuPG:1024D/C1027A0E
Evolix - Informatique et Logiciels Libres http://www.evolix.fr/


--- End Message ---

Reply via email to