diff options
| author | 2014-10-05 16:53:43 +0200 | |
|---|---|---|
| committer | 2014-10-09 16:01:05 +0200 | |
| commit | d842f85966b2873f1074c73ad79ec5169e7090f2 (patch) | |
| tree | 645d6653fc41354d0de44c96bfbc9387dc978224 /app | |
| parent | 8a09958281e7a4352c86d5734cbc9c6dc90b3c96 (diff) | |
SimplePie enclosure bug workaround
https://github.com/marienfressinaud/FreshRSS/issues/504
Diffstat (limited to 'app')
| -rw-r--r-- | app/Models/Feed.php | 2 |
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]); } } } |
