bh: server/kolab-resource-handlers/kolab-resource-handlers/resmgr resmgr.php.in, 1.6, 1.7

cvs at kolab.org cvs at kolab.org
Mon Jul 31 20:52:32 CEST 2006


Author: bh

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

Modified Files:
	resmgr.php.in 
Log Message:
* resmgr/resmgr.php.in: 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.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr/resmgr.php.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- resmgr.php.in	30 Apr 2006 02:35:47 -0000	1.6
+++ resmgr.php.in	31 Jul 2006 18:52:30 -0000	1.7
@@ -850,7 +850,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