<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Freebusy.php: Fix wrong return value</title> 
  <pubDate>Fri, 10 Apr 2026 19:28:26 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6394</link> 
  <atom:link rel="self" type="application/rss+xml" title="Freebusy.php: Fix wrong return value" href="https://bugs.horde.org/ticket/6394/rss" /> 
  <description>Freebusy.php: Fix wrong return value</description> 
 
   
   
  <item> 
   <title>Hello together,



attached patch fixes a wrong return value</title> 
   <description>Hello together,



attached patch fixes a wrong return value which should be a string instead of an array (returned by listEvents()).



Cheers,

Thomas

</description> 
   <pubDate>Fri, 07 Mar 2008 11:00:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6394#t43531</link> 
  </item> 
   
  <item> 
   <title>Thanks! Slightly fixed and commited to CVS.</title> 
   <description>Thanks! Slightly fixed and commited to CVS.</description> 
   <pubDate>Fri, 07 Mar 2008 12:41:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6394#t43539</link> 
  </item> 
   
  <item> 
   <title>&gt; Thanks! Slightly fixed and commited to CVS.



Something s</title> 
   <description>&gt; Thanks! Slightly fixed and commited to CVS.



Something still looks wrong: The return value of generate() is listed as &quot;string&quot;.

If all is fine the function returns the $vCal variable which is of type Horde_iCalendar, right?



What about either returning Horde_iCalendar or &quot;false&quot; if the calendar is empty?

</description> 
   <pubDate>Fri, 07 Mar 2008 12:59:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6394#t43541</link> 
  </item> 
   
  <item> 
   <title>Another option would be to remove the empty check completely</title> 
   <description>Another option would be to remove the empty check completely:



I&#039;m currently debugging why I&#039;m getting an error from Kolab&#039;s &quot;pfb.php&quot; for an empty calendar folder. The reason is the empty check -&gt; no calendar.pvc file get&#039;s created.



Guess the code is in there to clean up removed calendars, though this was the wrong fix IMHO. I&#039;ll investigate further...

</description> 
   <pubDate>Fri, 07 Mar 2008 13:07:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6394#t43544</link> 
  </item> 
   
  <item> 
   <title>&gt; Another option would be to remove the empty check complete</title> 
   <description>&gt; Another option would be to remove the empty check completely:

&gt;

&gt; I&#039;m currently debugging why I&#039;m getting an error from Kolab&#039;s 

&gt; &quot;pfb.php&quot; for an empty calendar folder. The reason is the empty check 

&gt; -&gt; no calendar.pvc file get&#039;s created.

&gt;

&gt; Guess the code is in there to clean up removed calendars, though this 

&gt; was the wrong fix IMHO. I&#039;ll investigate further...

&gt;



I believe generate() should always return a vCal object. If it is empty and the upstream code has a problem with that, I&#039;ll need to deal with that upstream. In CVS.</description> 
   <pubDate>Tue, 11 Mar 2008 10:20:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6394#t43698</link> 
  </item> 
   
  <item> 
   <title>&gt; I believe generate() should always return a vCal object. I</title> 
   <description>&gt; I believe generate() should always return a vCal object. If it is 

&gt; empty and the upstream code has a problem with that, I&#039;ll need to 

&gt; deal with that upstream. In CVS.



Looks good, that&#039;s the proper solution. Thanks.

</description> 
   <pubDate>Tue, 11 Mar 2008 13:29:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6394#t43704</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
