From 358684a5ed186c7a7dc4d520a5443162b5e41d8b Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 19 Jan 2016 00:01:30 +0100 Subject: [PATCH] end_str, not start_str --- plugins/Event/actions/newevent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Event/actions/newevent.php b/plugins/Event/actions/newevent.php index 402acea035..370fe6822b 100644 --- a/plugins/Event/actions/newevent.php +++ b/plugins/Event/actions/newevent.php @@ -139,7 +139,7 @@ class NeweventAction extends FormAction common_date_iso8601($start_str)); $actobj->extra[] = array('dtend', array('xmlns' => 'urn:ietf:params:xml:ns:xcal'), - common_date_iso8601($start_str)); + common_date_iso8601($end_str)); $actobj->extra[] = array('location', false, $location); $actobj->extra[] = array('url', false, $url);