]>
Commit | Line | Data |
---|---|---|
51058ef4 ER |
1 | --- iCalEvents/syntax.php~ 2010-12-05 22:32:32.000000000 +0200 |
2 | +++ iCalEvents/syntax.php 2010-12-05 22:32:57.535271298 +0200 | |
3 | @@ -132,7 +132,10 @@ | |
4 | */ | |
5 | function _parseIcs($url, $from, $previewSec) { | |
6 | global $conf; | |
7 | - | |
8 | + | |
9 | + // must reset error in case we have multiple calendars on page | |
10 | + $this->error = false; | |
11 | + | |
12 | $http = new DokuHTTPClient(); | |
13 | if (!$http->get($url)) { | |
14 | $this->error = "Could not get '$url': ".$http->status; |