aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-11-29 19:28:54 +0100
committerMax Kostikov <max@kostikov.co>2018-11-29 19:28:54 +0100
commit1a9ea6452305c44df285e16f17475a5b16b54a37 (patch)
tree2a5db8f5b38cf3d923de8e898913131318ef8e30 /include
parent9de650e17521542d84d9d07e2c3fabfbf1519acc (diff)
downloadvolse-hubzilla-1a9ea6452305c44df285e16f17475a5b16b54a37.tar.gz
volse-hubzilla-1a9ea6452305c44df285e16f17475a5b16b54a37.tar.bz2
volse-hubzilla-1a9ea6452305c44df285e16f17475a5b16b54a37.zip
Update text.php
Diffstat (limited to 'include')
-rw-r--r--include/text.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index a20d9564b..bb9c6075b 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1118,7 +1118,8 @@ function sslify($s) {
foreach ($matches as $match) {
logger('uid: ' . $uid . '; url: ' . $match[2], LOGGER_DEBUG);
$cache = array(
- 'url' => $match[2]
+ 'url' => $match[2],
+ 'uid' => local_channel()
);
call_hooks('cache_url_hook', $cache);
logger('cache status: ' . intval($cache['status']) .'; cached as: ' . ($cache['cached'] ? $cache['hash'] : '-'), LOGGER_DEBUG);