Skip to content

Commit

Permalink
v3.0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
kjmartens committed Nov 24, 2020
1 parent 7c4d42f commit d6011f3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Solspace Calendar Changelog

## 3.0.15 - 2020-11-24
### Fixed
- Fixed a bug where the front end Guest Access feature could error in some cases.

## 3.0.14 - 2020-10-23
### Added
- Added `previousDateLocalized` and `nextDateLocalized` property as a more reliable replacement for `previousDate` and `nextDate` when needing to use `|date` filter on `month`/`week`/`day` objects to display translatable dates in calendar views.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "solspace/craft3-calendar",
"description": "The most reliable and powerful event management plugin for Craft.",
"version": "3.0.14",
"version": "3.0.15",
"type": "craft-plugin",
"authors": [
{
Expand Down
6 changes: 3 additions & 3 deletions src/Resources/js/event-builder/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Resources/js/event-builder/app.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Services/CalendarsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function getAllAllowedCalendars(): array
if (null === $this->allowedCalendarCache) {
$allowedCalendarIds = PermissionHelper::getNestedPermissionIds(Calendar::PERMISSION_EVENTS_FOR);

if (is_array($publicCalendarIds)) {
if (is_array($publicCalendarIds) && is_array($allowedCalendarIds)) {
$publicCalendarIds = array_map('intval', $publicCalendarIds);
$allowedCalendarIds = array_merge($allowedCalendarIds, $publicCalendarIds);
}
Expand Down

0 comments on commit d6011f3

Please sign in to comment.