Ver código fonte

make lib/vobject.php work with sabredav 1.6

tags/v4.0.0beta
Georg Ehrke 12 anos atrás
pai
commit
95fe159914
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      lib/vobject.php

+ 1
- 1
lib/vobject.php Ver arquivo

@@ -41,7 +41,7 @@ class OC_VObject{
*/
public static function parse($data){
try {
Sabre_VObject_Reader::$elementMap['LAST-MODIFIED'] = 'Sabre_VObject_Element_DateTime';
Sabre_VObject_Property::$classMap['LAST-MODIFIED'] = 'Sabre_VObject_Element_DateTime';
$vobject = Sabre_VObject_Reader::read($data);
if ($vobject instanceof Sabre_VObject_Component){
$vobject = new OC_VObject($vobject);

Carregando…
Cancelar
Salvar