bh: server/kolab-resource-handlers/kolab-resource-handlers/resmgr resmgr.php, 1.69.2.3, 1.69.2.4

cvs at kolab.org cvs at kolab.org
Mon Jul 31 19:32:34 CEST 2006


Author: bh

Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr
In directory doto:/tmp/cvs-serv325/kolab-resource-handlers/kolab-resource-handlers/resmgr

Modified Files:
      Tag: kolab_2_0_branch
	resmgr.php 
Log Message:
Further fix for Issue957: 

Use the correct default value for the TRANSP ical attribute.  Otherwise
the opacity (free or busy) status of the event is not determined
correctly if the attribute is not explicitly given in the ical data (in
php, 0 == 'TRANSPARENT' is true).


Index: resmgr.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr/Attic/resmgr.php,v
retrieving revision 1.69.2.3
retrieving revision 1.69.2.4
diff -u -d -r1.69.2.3 -r1.69.2.4
--- resmgr.php	30 Apr 2006 02:37:55 -0000	1.69.2.3
+++ resmgr.php	31 Jul 2006 17:32:31 -0000	1.69.2.4
@@ -821,7 +821,7 @@
     ));
 
     # default is busy, so set free if info is available
-    if ($itip->getAttributeDefault('TRANSP', 0) == 'TRANSPARENT') {
+    if ($itip->getAttributeDefault('TRANSP', 'OPAQUE') == 'TRANSPARENT') {
 	$kolab_node = $kolab_event->append_child($kolab_xml->create_element('show-time-as'));
 	$kolab_node->append_child($kolab_xml->create_text_node('free' ));
    }





More information about the commits mailing list