From: JustAMacUser Date: Sun, 23 Aug 2015 17:08:48 +0000 (-0400) Subject: Fixed height/width image attributes for enclosures. X-Git-Tag: 16.3~120^2^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=08e79cb6b91fab4f86415d2b10e47567f6594988;p=tt-rss.git Fixed height/width image attributes for enclosures. --- diff --git a/include/functions2.php b/include/functions2.php index dd9d1ad6..a135049a 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -1953,9 +1953,9 @@ if (!$hide_images) { $encsize = ''; if ($entry['height'] > 0) - $encsize .= ' height="' . intval($entry['width']) . '"'; + $encsize .= ' height="' . intval($entry['height']) . '"'; if ($entry['width'] > 0) - $encsize .= ' width="' . intval($entry['height']) . '"'; + $encsize .= ' width="' . intval($entry['width']) . '"'; $rv .= "