diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 4919ca47..e3f5b5cf 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -7,6 +7,7 @@ Changelog - Enh #512: Surround the widget wall entry links with a dedicated HTML class - Enh #516: Improved calendar page URLs - Fix #519: Fix issue where `IntlDateFormatter::parse()` failed to parse Bulgarian dates. +- Fix #520: Fix global calendar url when prettyUrl is disabled 1.6.4 (Unreleased) ----------------------- diff --git a/helpers/Url.php b/helpers/Url.php index 86d65fcc..9f46f16a 100644 --- a/helpers/Url.php +++ b/helpers/Url.php @@ -98,7 +98,7 @@ public static function toCalendar(ContentContainerActiveRecord $container = null public static function toGlobalCalendar() { - return static::to(['/calendar']); + return static::to(['calendar/global']); } public static function toEditItemType(CalendarTypeIF $type, ContentContainerActiveRecord $container = null)