[Tickets #6820] Daily Agenda isn't sent after setting daily_agenda to read
bugs at horde.org
bugs at horde.org
Mon Jun 2 19:47:12 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/6820
-----------------------------------------------------------------------
Ticket | 6820
Created By | 80602 at heygel.ch
Summary | Daily Agenda isn't sent after setting daily_agenda to
read
Queue | Kronolith
Version | 2.2
Type | Bug
State | Unconfirmed
Priority | 3. High
Milestone |
Patch |
Owners |
-----------------------------------------------------------------------
80602 at heygel.ch (2008-06-02 15:47) wrote:
I didn't get a daily agenda after setting daily_agenda to 'read'. After
some debugging I found, that in line 319 of lib/Scheduler/kronolith.php the
wrong user's preferences were loaded. For each user in $users, the
preferences of the *first* user in $users were loaded.
After adding the three arguments '', NULL and FALSE to the call of
&Prefs::singleton in function agenda(), the problem was solved. The updated
line now looks like this:
$prefs = &Prefs::singleton($GLOBALS['conf']['prefs']['driver'],
'kronolith', $user, '', NULL, FALSE);
Was this a bug or is my horde system misconfigured?
More information about the bugs
mailing list