system: typo in previous

This commit is contained in:
Stephan de Wit 2024-03-08 09:32:06 +01:00
parent a7a842cd08
commit c94f8fc968

View File

@ -61,7 +61,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$pconfig['nohttpreferercheck'] = isset($config['system']['webgui']['nohttpreferercheck']);
$pconfig['althostnames'] = $config['system']['webgui']['althostnames'] ?? null;
$pconfig['serialspeed'] = $config['system']['serialspeed'];
$pconfig['serialusb'] = !emtpy($config['system']['serialusb']);
$pconfig['serialusb'] = !empty($config['system']['serialusb']);
$pconfig['primaryconsole'] = $config['system']['primaryconsole'];
$pconfig['secondaryconsole'] = $config['system']['secondaryconsole'] ?? null;
$pconfig['autologout'] = $config['system']['autologout'] ?? null;