From 3b6aa7eaf50a67e547987c536de0f74f8bd239f8 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Fri, 14 Dec 2018 17:31:43 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B01879=20Additional=20fix=20for=20default?= =?UTF-8?q?=20print=20format=20of=20dashboards?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/itopwebpage.class.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/itopwebpage.class.inc.php b/application/itopwebpage.class.inc.php index d06d90791..8be3a424b 100644 --- a/application/itopwebpage.class.inc.php +++ b/application/itopwebpage.class.inc.php @@ -1120,6 +1120,7 @@ EOF $sHtml .= ''; $sHtml .= ' '; + $sDefaultResolution = '27.7cm'; $aResolutionChoices = array( '100%' => Dict::S('UI:PrintResolution:FullSize'), '19cm' => Dict::S('UI:PrintResolution:A4Portrait'), @@ -1131,7 +1132,6 @@ EOF << EOF; - $sDefaultResolution = '27.7cm'; foreach ($aResolutionChoices as $sValue => $sText) { $sHtml .= ''; @@ -1139,7 +1139,7 @@ EOF; $sHtml .= ""; $sHtml .= ""; - $sHtml .= "
"; + $sHtml .= "
"; } // Render the revision number