Skip to content

Commit

Permalink
BC for custom calendar fields use layout
Browse files Browse the repository at this point in the history
  • Loading branch information
joomdonation committed Jul 28, 2021
1 parent 84232e7 commit 52e1ac5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/joomla/form/field/calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@
'data-inputfield' => $id,
'data-button' => $id . '_btn',
'data-date-format' => $format,
'data-firstday' => $firstday,
'data-weekend' => implode(',', $weekend),
'data-firstday' => empty($firstday) ? '' : $firstday,
'data-weekend' => empty($weekend) ? '' : implode(',', $weekend),
'data-today-btn' => $todaybutton,
'data-week-numbers' => $weeknumbers,
'data-show-time' => $showtime,
Expand Down

0 comments on commit 52e1ac5

Please sign in to comment.