summaryrefslogtreecommitdiff
path: root/modules/rss/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-15 18:54:12 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-15 18:54:12 -0800
commitd12555de9a93945b4fffe4b0f8f477bfd1563568 (patch)
tree08dd0f85e9d161ac7cb64cc5f68b95994dc17f84 /modules/rss/views
parentd7b13ee167ec06f54374c96c9a057cf9d2864aa2 (diff)
Don't show resizes for albums, only for photos.
Fixes ticket #893.
Diffstat (limited to 'modules/rss/views')
-rw-r--r--modules/rss/views/feed.mrss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/rss/views/feed.mrss.php b/modules/rss/views/feed.mrss.php
index 89ba9f14..5fce8699 100644
--- a/modules/rss/views/feed.mrss.php
+++ b/modules/rss/views/feed.mrss.php
@@ -31,7 +31,7 @@
<![CDATA[
<span><?= html::purify($child->description) ?></span>
<p>
- <? if ($child->type == "photo" || $child->type == "album"): ?>
+ <? if ($child->type == "photo"): ?>
<img alt="" src="<?= $child->resize_url(true) ?>"
title="<?= html::purify($child->title)->for_html_attr() ?>"
height="<?= $child->resize_height ?>" width="<?= $child->resize_width ?>" /><br />
@@ -50,7 +50,7 @@
width="<?= $child->thumb_width ?>"
/>
<media:group>
- <? if ($child->type == "photo" || $child->type == "album"): ?>
+ <? if ($child->type == "photo"): ?>
<media:content url="<?= $child->resize_url(true) ?>"
fileSize="<?= @filesize($child->resize_path()) ?>"
type="<?= $child->mime_type ?>"