Skip to content

Commit

Permalink
fix missing strtoupper
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio authored Apr 3, 2024
1 parent 7bfce0f commit a6f6a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/LitSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function __construct( array $DATA ) {
$this->DiocesanCalendar = strtoupper( $value );
break;
case "CALENDARTYPE":
$this->CalendarType = CalendarType::isValid( $value ) ? $value : CalendarType::LITURGICAL;
$this->CalendarType = CalendarType::isValid( strtoupper( $value ) ) ? strtoupper( $value ) : CalendarType::LITURGICAL;
break;
}
}
Expand Down

0 comments on commit a6f6a9d

Please sign in to comment.