From: Michael J. Rubinsky Date: Thu, 13 Jan 2011 01:34:15 +0000 (-0500) Subject: Fix fb generation for resources X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b127fca0ce3c7e65e3c8336602221837909c5bdd;p=horde.git Fix fb generation for resources --- diff --git a/kronolith/lib/Resource/Single.php b/kronolith/lib/Resource/Single.php index 2ac8f0402..febc4514b 100644 --- a/kronolith/lib/Resource/Single.php +++ b/kronolith/lib/Resource/Single.php @@ -118,7 +118,7 @@ class Kronolith_Resource_Single extends Kronolith_Resource_Base */ public function getFreeBusy($startstamp = null, $endstamp = null, $asObject = false) { - $vfb = Kronolith_Freebusy::generate($this->get('calendar'), $startstamp, $endstamp, $asObject); + $vfb = Kronolith_Freebusy::generate('resource_' . $this->get('calendar'), $startstamp, $endstamp, $asObject); $vfb->removeAttribute('ORGANIZER'); $vfb->setAttribute('ORGANIZER', $this->get('name'));