projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84009aa
)
Send correct Content-Type when PUTing events (Bug #9206).
author
Jan Schneider
<jan@horde.org>
Tue, 21 Sep 2010 15:32:27 +0000
(17:32 +0200)
committer
Jan Schneider
<jan@horde.org>
Tue, 21 Sep 2010 15:32:27 +0000
(17:32 +0200)
kronolith/lib/Driver/Ical.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Driver/Ical.php
b/kronolith/lib/Driver/Ical.php
index
6f72ce6
..
8e38ebe
100644
(file)
--- a/
kronolith/lib/Driver/Ical.php
+++ b/
kronolith/lib/Driver/Ical.php
@@
-439,7
+439,7
@@
class Kronolith_Driver_Ical extends Kronolith_Driver
$url = trim($this->_getUrl(), '/') . '/' . $event->id;
try {
- $response = $this->_getClient()->put($url, $ical->exportvCalendar());
+ $response = $this->_getClient()->put($url, $ical->exportvCalendar()
, array('Content-Type' => 'text/calendar')
);
} catch (Horde_Http_Exception $e) {
Horde::logMessage($e, 'INFO');
throw new Kronolith_Exception($e);