aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-27 18:28:44 -0700
committerzotlabs <mike@macgirvin.com>2017-08-27 18:28:44 -0700
commit99ca2a7cc6e5560a90abe4acbf73a95539231d1f (patch)
treebbca61aed94f5f8463fe00e341b58727dc11ed52 /Zotlabs
parent187f19b1704b8a877b53a3e66c67ec26383a3ee9 (diff)
downloadvolse-hubzilla-99ca2a7cc6e5560a90abe4acbf73a95539231d1f.tar.gz
volse-hubzilla-99ca2a7cc6e5560a90abe4acbf73a95539231d1f.tar.bz2
volse-hubzilla-99ca2a7cc6e5560a90abe4acbf73a95539231d1f.zip
fix card category widget links when a specific card is opened
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Widget/Categories.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Categories.php b/Zotlabs/Widget/Categories.php
index 84deb03d6..305869706 100644
--- a/Zotlabs/Widget/Categories.php
+++ b/Zotlabs/Widget/Categories.php
@@ -19,7 +19,7 @@ class Categories {
}
$cat = ((x($_REQUEST,'cat')) ? htmlspecialchars($_REQUEST['cat'],ENT_COMPAT,'UTF-8') : '');
- $srchurl = \App::$query_string;
+ $srchurl = (($cards) ? \App::$argv[0] . '/' . \App::$argv[1] : \App::$query_string);
$srchurl = rtrim(preg_replace('/cat\=[^\&].*?(\&|$)/is','',$srchurl),'&');
$srchurl = str_replace(array('?f=','&f='),array('',''),$srchurl);