Forráskód Böngészése

Download icon 💾 for other MIME types

https://github.com/FreshRSS/FreshRSS/issues/1236#issuecomment-299627105
Alexandre Alapetite 9 éve
szülő
commit
e9e6fc3483
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/Models/Feed.php

+ 1 - 1
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>';
 					}
 				}
 			}