Hi!
Rev. 32392 in 1.8 broke the groupdav calendar.
— calendar/inc/class.calendar_groupdav.inc.php (revision 32411)
+++ calendar/inc/class.calendar_groupdav.inc.php (working copy)
@@ -107,8 +107,8 @@
// ToDo: add parameter to only return id & etag
$filter = array(
‘users’ => $user,
-‘start’ => $this->bo->now - 100243600,
-‘end’ => $this->bo->now + 365243600,
+‘start’ => time() - 100243600,
+‘end’ => time() + 365243600,
The problem seems to be that for groupdav.php. the variable
$this->bo->now is not initialized.
The change in rev. 32392 is not obviously wrong, so i want to discuss it
here, first. The intent is not to call time() too often and also, a fine
resolution of the time stamp is not required at this place because the
granularity is “1 day”.
So maybe, the better fix would be an initialization of $this->bo->now?
Please comment / commit the better approach.
Thanks a lot!
Hans-Jürgen
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers