summaryrefslogtreecommitdiff
path: root/classes/article.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-08-13 16:40:21 +0300
committerAndrew Dolgov <[email protected]>2019-08-13 16:40:21 +0300
commitfdb6066bf67751ebb388a3de082d80f5444e3681 (patch)
tree71eaefc6589ef3206c210205144a52a79d7c6953 /classes/article.php
parentbed695b127f1bc49103d6112868296f3a9990c2b (diff)
* HOOK_ENCLOSURE_ENTRY: pass article_id to handler
* DiskCache: multiple fixes; support isWritable() for cache entries, set content-disposition for send() * public/cached_url: allow selecting files from sub-caches other than images * plugins/Cache_Starred_Images: rework to use DiskCache, can be enabled per-user, properly handles article enclosures, etc
Diffstat (limited to 'classes/article.php')
-rwxr-xr-xclasses/article.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/article.php b/classes/article.php
index 2f43b9b07..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"];