diff options
author | Andrew Dolgov <[email protected]> | 2019-08-14 08:25:09 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-08-14 08:25:09 +0300 |
commit | 65450f8a2bbf325d26177c2589c3a9bbe67d8f80 (patch) | |
tree | 932b65b145294955ac4628cd9b0536c83c392ce6 /classes/article.php | |
parent | b0fbae938dbc7c66c7829a86f7dd0fe6fb689908 (diff) | |
parent | fdb6066bf67751ebb388a3de082d80f5444e3681 (diff) |
Merge branch 'master' of git.tt-rss.org:fox/tt-rss
Diffstat (limited to 'classes/article.php')
-rwxr-xr-x | classes/article.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/article.php b/classes/article.php index 43b25f94f..62ea1f3b9 100755 --- a/classes/article.php +++ b/classes/article.php @@ -446,7 +446,7 @@ class Article extends Handler_Protected { foreach ($result as $line) { foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ENCLOSURE_ENTRY) as $plugin) { - $line = $plugin->hook_enclosure_entry($line); + $line = $plugin->hook_enclosure_entry($line, $id); } $url = $line["content_url"]; @@ -676,7 +676,7 @@ class Article extends Handler_Protected { while ($line = $sth->fetch()) { if (file_exists(CACHE_DIR . '/images/' . sha1($line["content_url"]))) { - $line["content_url"] = get_self_url_prefix() . '/public.php?op=cached_url&hash=' . sha1($line["content_url"]); + $line["content_url"] = DiskCache::getUrl(sha1($line["content_url"])); } array_push($rv, $line); |