diff options
author | Mario <mario@mariovavti.com> | 2021-03-10 11:14:03 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-10 11:14:03 +0000 |
commit | c8050ea86587b460769a32be5c55a91fb91c2414 (patch) | |
tree | 1579f58a6065e73ddf5dbbefedcc4d8e0bca9e08 /Zotlabs/Widget/Notifications.php | |
parent | 15faf01ec960fff88a1f9c83fb6d251319cecea7 (diff) | |
parent | 11d831e4d7bd4163ea518892f541252ce1acea2e (diff) | |
download | volse-hubzilla-c8050ea86587b460769a32be5c55a91fb91c2414.tar.gz volse-hubzilla-c8050ea86587b460769a32be5c55a91fb91c2414.tar.bz2 volse-hubzilla-c8050ea86587b460769a32be5c55a91fb91c2414.zip |
Merge branch 'php8fixes' into 'dev'
More PHP 8 fixes
See merge request hubzilla/core!1923
Diffstat (limited to 'Zotlabs/Widget/Notifications.php')
-rw-r--r-- | Zotlabs/Widget/Notifications.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Widget/Notifications.php b/Zotlabs/Widget/Notifications.php index e2a543f80..dd5a6cd46 100644 --- a/Zotlabs/Widget/Notifications.php +++ b/Zotlabs/Widget/Notifications.php @@ -175,13 +175,13 @@ class Notifications { ]; } - $o = replace_macros(get_markup_template('notifications_widget.tpl'), array( + $o = replace_macros(get_markup_template('notifications_widget.tpl'), [ '$module' => \App::$module, '$notifications' => $notifications, '$no_notifications' => t('Sorry, you have got no notifications at the moment'), '$loading' => t('Loading'), - '$startpage' => $channel['channel_startpage'] - )); + '$startpage' => ($channel ? $channel['channel_startpage'] : '') + ]); return $o; |