diff options
author | Mario <mario@mariovavti.com> | 2021-02-18 13:29:15 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-02-18 13:29:15 +0000 |
commit | 65068479b9a7afd0d210550bf54fb3b19ed1fbf2 (patch) | |
tree | 0224c847e56be4ae6a25029fbe1c0537815ef128 /boot.php | |
parent | 92f3c5ae2191dbffcc327dd1068e692467dc24dd (diff) | |
download | volse-hubzilla-65068479b9a7afd0d210550bf54fb3b19ed1fbf2.tar.gz volse-hubzilla-65068479b9a7afd0d210550bf54fb3b19ed1fbf2.tar.bz2 volse-hubzilla-65068479b9a7afd0d210550bf54fb3b19ed1fbf2.zip |
php8 warnings
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1758,7 +1758,7 @@ function shutdown() { */ function get_account_id() { - if(intval($_SESSION['account_id'])) + if(isset($_SESSION['account_id'])) return intval($_SESSION['account_id']); if(App::$account) @@ -2252,6 +2252,8 @@ function load_pdl() { $n = 'mod_' . App::$module . '.pdl' ; $u = App::$comanche->get_channel_id(); + $s = ''; + if($u) $s = get_pconfig($u, 'system', $n); if(! $s) |