From 64466c9c72397911c86b12f1ad9b098c242b139a Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Tue, 26 May 2015 08:29:40 +0200 Subject: [PATCH] - ported fix for logo dimensions --- interface/web/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/web/index.php b/interface/web/index.php index af91b265a2..9838c24149 100644 --- a/interface/web/index.php +++ b/interface/web/index.php @@ -97,8 +97,8 @@ if($logo['custom_logo'] != ''){ } $tmp_base64 = explode(',', $base64_logo_txt, 2); $logo_dimensions = $app->functions->getimagesizefromstring(base64_decode($tmp_base64[1])); -$app->tpl->setVar('base64_logo_width', $logo_dimensions[0]); -$app->tpl->setVar('base64_logo_height', $logo_dimensions[1]); +$app->tpl->setVar('base64_logo_width', $logo_dimensions[0].'px'); +$app->tpl->setVar('base64_logo_height', $logo_dimensions[1].'px'); $app->tpl->setVar('base64_logo_txt', $base64_logo_txt); $app->tpl_defaults(); -- GitLab