diff --git a/pandora_console/general/header.php b/pandora_console/general/header.php index 0f29644527..9f0bed6d42 100644 --- a/pandora_console/general/header.php +++ b/pandora_console/general/header.php @@ -125,10 +125,12 @@ config_check(); $servers_link_open = ''; $servers_link_close = ''; - $show_qr_code_header = 'display: inline;'; - if (isset($config['show_qr_code_header'])) - if ($config['show_qr_code_header']) - $show_qr_code_header = ''; + if ($config['show_qr_code_header'] == 0){ + $show_qr_code_header = 'display: none;'; + } + else { + $show_qr_code_header = 'display: inline;'; + } $table->data[0]['qr'] = '
' .