mirror of
https://github.com/grocy/grocy.git
synced 2025-08-18 03:25:50 +00:00
Removed type conversions where no longer needed
PHP 8.1 PDO SQLite now returns native data types
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
var firstDay = null;
|
||||
if (!Grocy.CalendarFirstDayOfWeek.isEmpty())
|
||||
if (Grocy.CalendarFirstDayOfWeek)
|
||||
{
|
||||
firstDay = parseInt(Grocy.CalendarFirstDayOfWeek);
|
||||
firstDay = Number.parseInt(Grocy.CalendarFirstDayOfWeek);
|
||||
}
|
||||
|
||||
var calendar = $("#calendar").fullCalendar({
|
||||
|
Reference in New Issue
Block a user