Skip to content

Commit

Permalink
Merge branch 'reminder-too-long' of https://github.com/owlchester/kanka
Browse files Browse the repository at this point in the history
… into reminder-too-long
  • Loading branch information
spitfire305 committed Aug 3, 2023
2 parents 7f3bb43 + 156fa49 commit 856886b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/LengthValidatorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function validateLength(Calendar $calendar, Request $request)
}
}
$totalLength = $monthLength - $day + $daysInYear;
if ($length >= $totalLength){
if ($length >= $totalLength) {
return [
'overflow' => true,
'message' => __('calendars.warnings.event_length', ['documentation' => link_to('https://docs.kanka.io/en/latest/entities/calendars.html#long-lasting-reminders', '<i class="fa-solid fa-external-link" aria-hidden="true"></i> ' . __('front.menu.documentation'), ['target' => '_blank'], null, false)]),
Expand Down

0 comments on commit 856886b

Please sign in to comment.