aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-06-03 23:03:30 +0200
committerMario Vavti <mario@mariovavti.com>2018-06-03 23:03:30 +0200
commit8b76b5a0a6f6784f9d97332cc93b395504f6f527 (patch)
tree3f56a2bb65119c0423803e8f18e219a76db67a54 /Zotlabs/Widget
parent3d3e7bafd5821a200d2e2cc54463d6f16f5c5f15 (diff)
downloadvolse-hubzilla-8b76b5a0a6f6784f9d97332cc93b395504f6f527.tar.gz
volse-hubzilla-8b76b5a0a6f6784f9d97332cc93b395504f6f527.tar.bz2
volse-hubzilla-8b76b5a0a6f6784f9d97332cc93b395504f6f527.zip
improve network cid query
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r--Zotlabs/Widget/Activity_filter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Widget/Activity_filter.php b/Zotlabs/Widget/Activity_filter.php
index 07389f2bc..672225ef1 100644
--- a/Zotlabs/Widget/Activity_filter.php
+++ b/Zotlabs/Widget/Activity_filter.php
@@ -114,8 +114,8 @@ class Activity_filter {
if($forums) {
foreach($forums as $f) {
- if(x($_GET,'cid')) {
- $forum_active = (($_GET['cid'] == $f['abook_id']) ? 'active' : '');
+ if(x($_GET,'pf') && x($_GET,'cid')) {
+ $forum_active = ((x($_GET,'pf') && $_GET['cid'] == $f['abook_id']) ? 'active' : '');
$filter_active = 'forums';
}
$fsub[] = [