diff options
author | Mario <mario@mariovavti.com> | 2022-09-14 12:31:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-09-14 12:31:19 +0000 |
commit | 1d56b9a1bb155d7a0b4377f9bb1e195230e545e4 (patch) | |
tree | f7b6413727a97cfa0512dc9701d493d6751dc741 /Zotlabs/Module | |
parent | 96535ee4df967f04d4cc6c3b7f9ab335a50f543d (diff) | |
download | volse-hubzilla-1d56b9a1bb155d7a0b4377f9bb1e195230e545e4.tar.gz volse-hubzilla-1d56b9a1bb155d7a0b4377f9bb1e195230e545e4.tar.bz2 volse-hubzilla-1d56b9a1bb155d7a0b4377f9bb1e195230e545e4.zip |
php8: warning fixes
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Network.php | 4 | ||||
-rw-r--r-- | Zotlabs/Module/Outbox.php | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Zotlabs/Module/Network.php b/Zotlabs/Module/Network.php index f4f6cc8d1..279875544 100644 --- a/Zotlabs/Module/Network.php +++ b/Zotlabs/Module/Network.php @@ -129,6 +129,9 @@ class Network extends \Zotlabs\Web\Controller { $pf = ((x($_GET, 'pf')) ? $_GET['pf'] : ''); $unseen = ((x($_GET, 'unseen')) ? $_GET['unseen'] : ''); + $status_editor = ''; + + if (Apps::system_app_installed(local_channel(), 'Affinity Tool')) { $affinity_locked = intval(get_pconfig(local_channel(), 'affinity', 'lock', 1)); if ($affinity_locked) { @@ -208,6 +211,7 @@ class Network extends \Zotlabs\Web\Controller { 'reset' => t('Reset form') ); + $a = ''; $status_editor = status_editor($a, $x, false, 'Network'); $o .= $status_editor; diff --git a/Zotlabs/Module/Outbox.php b/Zotlabs/Module/Outbox.php index 503b464d1..24a3399a5 100644 --- a/Zotlabs/Module/Outbox.php +++ b/Zotlabs/Module/Outbox.php @@ -76,7 +76,7 @@ class Outbox extends Controller { App::set_pager_itemspage(30); } - if (App::$pager['unset'] && $total > 30) { + if (isset(App::$pager['unset']) && $total > 30) { $ret = Activity::paged_collection_init($total, App::$query_string); } else { |