aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-10-05 16:53:43 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-10-05 16:53:49 +0200
commit70131f776a5fa30fdf26c64578039aeeb41333c7 (patch)
tree58cdf2d7cb48ba3578a08f046baf6a8d08bb7981 /app/Models/Feed.php
parentc8fad68a4fd15857a2e3e21e7d5311dc7f87226c (diff)
SimplePie enclosure bug workaround
https://github.com/marienfressinaud/FreshRSS/issues/504
Diffstat (limited to 'app/Models/Feed.php')
-rw-r--r--app/Models/Feed.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index 2a5ea45ac..03baf3ad2 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -288,6 +288,8 @@ class FreshRSS_Feed extends Minz_Model {
$content .= '<br /><audio lazyload="" postpone="" preload="none" src="' . $elink . '" controls="controls" />';
} elseif (strpos($mime, 'video/') === 0) {
$content .= '<br /><video lazyload="" postpone="" preload="none" src="' . $elink . '" controls="controls" />';
+ } else {
+ unset($elinks[$elink]);
}
}
}