diff options
author | Mario Vavti <mario@mariovavti.com> | 2022-11-02 16:52:42 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2022-11-02 16:52:42 +0100 |
commit | f4d39bd3c86feebd21cfbfe61b7da5d32421113d (patch) | |
tree | aa73e73b3c4094a33fc93856e32eb1a489215281 /Zotlabs/Daemon | |
parent | 1cf659033b376026aecaec7951c743f78c2b0511 (diff) | |
download | volse-hubzilla-f4d39bd3c86feebd21cfbfe61b7da5d32421113d.tar.gz volse-hubzilla-f4d39bd3c86feebd21cfbfe61b7da5d32421113d.tar.bz2 volse-hubzilla-f4d39bd3c86feebd21cfbfe61b7da5d32421113d.zip |
fix more php warnings
Diffstat (limited to 'Zotlabs/Daemon')
-rw-r--r-- | Zotlabs/Daemon/Notifier.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php index f9e1d13d5..bfccb4099 100644 --- a/Zotlabs/Daemon/Notifier.php +++ b/Zotlabs/Daemon/Notifier.php @@ -657,7 +657,8 @@ class Notifier { $hash = new_uuid(); - $env = (($hub_env && $hub_env[$hub['hubloc_site_id']]) ? $hub_env[$hub['hubloc_site_id']] : ''); + $env = $hub_env[$hub['hubloc_site_id']] ?? ''; + if ((self::$private) && (!$env)) { continue; } |