From de6f95b4d6f6feff223a3196b2bb51f97e2ef769 Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 26 Oct 2016 13:21:38 +0200 Subject: [PATCH] fixed QR Bar code in the header #94 (cherry picked from commit a913b54401eac4c0ca616c279b7ca6dc55c0ee8c) --- pandora_console/general/header.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pandora_console/general/header.php b/pandora_console/general/header.php index 9a6f04b20e..63d5c722eb 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'] = '
' .