Fixed a calendar bug wher the iCal feed url was corrupt
This commit is contained in:
parent
dc642f80ba
commit
68fa0161c5
2 changed files with 4 additions and 2 deletions
|
|
@ -19,6 +19,8 @@
|
|||
- fix: Asset tree cut and paste not handled by search (Martin Kamerbeek /
|
||||
Oqapi)
|
||||
http://www.plainblack.com/bugs/tracker/asset-tree-cut-and-paste-not-handled-by-search
|
||||
- fix: Fixed a bug where calendars would generate corrupt iCal feed urls
|
||||
(Martin Kamerbeek / Oqapi)
|
||||
|
||||
7.3.15
|
||||
- Added more documentation to WebGUI.pm
|
||||
|
|
|
|||
|
|
@ -928,7 +928,7 @@ sub view {
|
|||
my $params = {};
|
||||
$params->{type} = $form->param("type");
|
||||
$params->{start} = $form->param("start");
|
||||
|
||||
|
||||
### TODO: Parse user input for sanity.
|
||||
# {start} must be of the form: YYYY-MM-DD%20HH:MM:SS
|
||||
# {type} must be "month", "week", or "day"
|
||||
|
|
@ -974,7 +974,7 @@ sub view {
|
|||
$var->{"urlSearch"} = $self->getSearchUrl;
|
||||
$var->{"urlPrint"} = $self->getUrl("type=".$params->{type}.";start=".$params->{start}.";print=1");
|
||||
$var->{"urlIcal"} = $self->getUrl(
|
||||
sprintf "func=ical;type=%s;start=%d",
|
||||
sprintf "func=ical;type=%s;start=%s",
|
||||
$params->{type},
|
||||
$params->{start},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue