summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJustAMacUser <[email protected]>2015-08-23 13:08:48 -0400
committerJustAMacUser <[email protected]>2015-08-23 13:08:48 -0400
commit08e79cb6b91fab4f86415d2b10e47567f6594988 (patch)
treeb9a40f34e33448eb1008552908947af10e787fa4 /include
parentc7ce438e7b7de26c2018e1b96f746d9c2ffca84e (diff)
Fixed height/width image attributes for enclosures.
Diffstat (limited to 'include')
-rw-r--r--include/functions2.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions2.php b/include/functions2.php
index dd9d1ad68..a135049a5 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 .= "<p><img
alt=\"".htmlspecialchars($entry["filename"])."\"
src=\"" .htmlspecialchars($entry["url"]) . "\"