From c8fcb65dcc128a3dcca127cba252722fbbbbb518 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Mon, 2 Feb 2015 10:49:21 +0000 Subject: [PATCH] contrib/InfoPanel: bugfix git-svn-id: https://svn.fhem.de/fhem/trunk@7832 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/InfoPanel/55_InfoPanel.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/contrib/InfoPanel/55_InfoPanel.pm b/fhem/contrib/InfoPanel/55_InfoPanel.pm index b86c20bd8..e6417bc8a 100644 --- a/fhem/contrib/InfoPanel/55_InfoPanel.pm +++ b/fhem/contrib/InfoPanel/55_InfoPanel.pm @@ -315,7 +315,7 @@ sub _btIP_imgData { my $info = image_info(\$arg); my $width = $info->{width}; my $height = $info->{height}; - ($width,$height)= _btIP_imgRescale($width,$height,$scale) unless $scale eq '1'; + ($width,$height)= _btIP_imgRescale($width,$height,$scale); my $mimetype = $info->{file_media_type}; my $data = "data:$mimetype;base64,".encode_base64($arg); return ($width,$height,$mimetype,$data); @@ -372,7 +372,7 @@ sub btIP_itemPlot { ($width,$height,$mimetype,$svgdata) = _btIP_imgData($svgdata,$scale); $output = "\n"; - $output .= "\n"; } else {