phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-developers] Calendar : list of conflicts shows private app


From: Service informatique
Subject: [Phpgroupware-developers] Calendar : list of conflicts shows private appointments' title
Date: Tue, 16 Apr 2002 13:52:23 +0200

I've discovered the following bug in 14 RC2 (I didn't install RC3 yet, so I don't know if it's corrected in this version) :
 
When you try to add a multi-user entry in the calendar, if there are conflicts with other users' calendar, the list of conflicts that is displayed shows the title of all entries even the title of a private one (on which you have no rights).
 
This bug seems to happen because of a wrong call to the function is_private (class.bocalendar.inc.php) from the function link_to_entry (class.uicalendar.inc.php).
 
I think the second argument is wrong :
i replaced in class.uicalendar.inc.php the second line of the function link_to_entry :
$is_private = $this->bo->is_private($event,$this->bo->owner);
by :
$is_private = $this->bo->is_private($event,$event['owner']);
 
And now it doesn't show the title of private entries anymore.
 
Let me know if that's the good thing to do, i hope it helps. Thanks for all the good work that is down here.
 
Nicolas Reignier

reply via email to

[Prev in Thread] Current Thread [Next in Thread]