Skip to content

Commit

Permalink
Fix exporting contacts without __uid attribute via WebDAV.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Oct 29, 2014
1 parent 699ab6e commit d7fe281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turba/lib/Api.php
Expand Up @@ -347,7 +347,7 @@ public function browse($path = '',
$contact = $driver->getObject($parts[2]);

$result = array(
'data' => $this->export($contact->getValue('__uid'), 'text/x-vcard', $contact->getSource(), null, array('skip_empty' => true)),
'data' => $driver->tovCard($contact, '2.1', null, true)->exportVcalendar(),
'mimetype' => 'text/x-vcard'
);
$modified = $this->_modified($contact->getValue('__uid'), $parts[1]);
Expand Down

0 comments on commit d7fe281

Please sign in to comment.