projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18552d0
)
There may be several DAV headers (Bug #9251).
author
Jan Schneider
<jan@horde.org>
Tue, 21 Sep 2010 15:25:25 +0000
(17:25 +0200)
committer
Jan Schneider
<jan@horde.org>
Tue, 21 Sep 2010 15:25:25 +0000
(17:25 +0200)
kronolith/lib/Driver/Ical.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Driver/Ical.php
b/kronolith/lib/Driver/Ical.php
index
dd7578d
..
6f72ce6
100644
(file)
--- a/
kronolith/lib/Driver/Ical.php
+++ b/
kronolith/lib/Driver/Ical.php
@@
-584,6
+584,9
@@
class Kronolith_Driver_Ical extends Kronolith_Driver
if ($dav = $response->getHeader('dav')) {
/* Check for DAV support. */
+ if (is_array($dav)) {
+ $dav = implode (',', $dav);
+ }
$this->_davSupport = preg_split('/,\s*/', $dav);
if (!in_array('3', $this->_davSupport)) {
throw new Kronolith_Exception(_("This remote server only supports an outdated WebDAV protocol."));