Fix reported "Undefined index: FirstDayOfCalendar"
Reported on error reporting server Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
814da7d73d
commit
2389c6a07b
@ -709,7 +709,7 @@ class Header
|
||||
$maxInputVarsValue = $maxInputVars === false || $maxInputVars === '' ? 'false' : (int) $maxInputVars;
|
||||
|
||||
return $this->template->render('javascript/variables', [
|
||||
'first_day_of_calendar' => $cfg['FirstDayOfCalendar'],
|
||||
'first_day_of_calendar' => $cfg['FirstDayOfCalendar'] ?? 0,
|
||||
'theme_image_path' => $PMA_Theme !== null ? $PMA_Theme->getImgPath() : '',
|
||||
'max_input_vars' => $maxInputVarsValue,
|
||||
]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user