6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/24/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12248] Wrong initial sync_calendars preference
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..___. ..__ . . [__][__ |__|[__)|__| | || | |[__)| |
Comment
> Hello! > > In conf/prefs.php round about line 278 we set the sync_calendars > preference if unset/empty: > > if (empty($sync)) { > $GLOBALS['prefs']->setValue('sync_calendars', > serialize(array(Kronolith::getDefaultCalendar()))); > } > > This may end in a wrong entry if the user has other calendars (f.e. > shared ones by other users), too. In our cases our customers f.e. got > its 1st foreign calendar synced. > > This wrong entry will not be shown in the webfrontend. > > We fixed the problem with just use calendars owned by this user: > > $GLOBALS['prefs']->setValue('sync_calendars', > serialize(array(Kronolith::getDefaultCalendar(Horde_Perms::EDIT, > true)))); > > What do you think? Is this bugfix ok?
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers