diff options
author | Mario <mario@mariovavti.com> | 2021-03-14 20:23:33 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-14 21:25:45 +0100 |
commit | a9a112e06358eec9040cdc03e1f7bf93ef21378d (patch) | |
tree | 35e7170b523126691243aa165c84c311edc8b837 /Zotlabs/Widget | |
parent | 1e87fe6b4901aef213822abfbd1374cc09748850 (diff) | |
download | volse-hubzilla-a9a112e06358eec9040cdc03e1f7bf93ef21378d.tar.gz volse-hubzilla-a9a112e06358eec9040cdc03e1f7bf93ef21378d.tar.bz2 volse-hubzilla-a9a112e06358eec9040cdc03e1f7bf93ef21378d.zip |
php8: fix some undefined variables
(cherry picked from commit ed64eba13adf55e564d127e1640409fccca00fd3)
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r-- | Zotlabs/Widget/Activity_filter.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Zotlabs/Widget/Activity_filter.php b/Zotlabs/Widget/Activity_filter.php index 9200811b4..b7a69752e 100644 --- a/Zotlabs/Widget/Activity_filter.php +++ b/Zotlabs/Widget/Activity_filter.php @@ -12,10 +12,14 @@ class Activity_filter { if(! local_channel()) return ''; - $cmd = \App::$cmd; - $filter_active = false; - - $tabs = []; + $filter_active = ''; + $dm_active = ''; + $events_active = ''; + $polls_active = ''; + $starred_active = ''; + $conv_active = ''; + $tabs = []; + $cmd = \App::$cmd; if(x($_GET,'dm')) { $dm_active = (($_GET['dm'] == 1) ? 'active' : ''); |