aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-05-07 17:07:31 +0200
committerGravatar GitHub <noreply@github.com> 2017-05-07 17:07:31 +0200
commitff3f639bcd256c94eb8a7b6828494a4982f66867 (patch)
treed0d8c9f5a0f2e3c1b2ff86bab86366388fadcfea /app/Models/Feed.php
parent1c2235ec90141448304b1537112986175d2f45ff (diff)
parent1a59bf8e52296563ee11277837249010a37a2e64 (diff)
Merge pull request #1522 from Alkarex/download-other-mimes
Download icon 💾 for other MIME types
Diffstat (limited to 'app/Models/Feed.php')
-rw-r--r--app/Models/Feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index 1bc6e48e8..f6059e9de 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -328,7 +328,7 @@ class FreshRSS_Feed extends Minz_Model {
} elseif (strpos($mime, 'video/') === 0) {
$content .= '<p class="enclosure"><video preload="none" src="' . $elink . '" controls="controls"></video> <a download="" href="' . $elink . '">💾</a></p>';
} else {
- unset($elinks[$elink]);
+ $content .= '<p class="enclosure"><a download="" href="' . $elink . '">💾</a></p>';
}
}
}