Use fully namespaced tag.

This commit is contained in:
Andrew McMillan 2012-05-20 21:42:19 +12:00
parent b32e2cc452
commit 51e8ddd032

View File

@ -36,7 +36,7 @@ while (list($idx, $qqq) = each($qry_content))
case 'DAV::prop':
$qry_props = $xmltree->GetPath('/urn:ietf:params:xml:ns:caldav:calendar-query/'.$proptype.'/*');
foreach( $qry_content[$idx]->GetElements() AS $k => $v ) {
$propertyname = $v->GetTag();
$propertyname = $v->GetNSTag();
$properties[$propertyname] = 1;
if ( $v->GetNSTag() == 'urn:ietf:params:xml:ns:caldav:calendar-data' ) check_for_expansion($v);
}