diff options
author | Mario <mario@mariovavti.com> | 2021-03-10 13:18:12 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-10 13:18:12 +0000 |
commit | 440a132c6be512314484b7b331fab5dab92e5fad (patch) | |
tree | b182fb923f7a6de0c0149c423fb8da6c502b0b0e /Zotlabs/Widget/Notifications.php | |
parent | f8447521a84c0eb30c08da212e8156256558617b (diff) | |
parent | c8050ea86587b460769a32be5c55a91fb91c2414 (diff) | |
download | volse-hubzilla-440a132c6be512314484b7b331fab5dab92e5fad.tar.gz volse-hubzilla-440a132c6be512314484b7b331fab5dab92e5fad.tar.bz2 volse-hubzilla-440a132c6be512314484b7b331fab5dab92e5fad.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
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; |