diff options
author | Max Kostikov <max@kostikov.co> | 2021-03-10 19:41:46 +0000 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2021-03-10 19:41:46 +0000 |
commit | b729cee9e4aaf908d28835341171311532ae05d6 (patch) | |
tree | f47ec7020c314c9101d4ddceb222b608166d4825 /Zotlabs/Widget/Notifications.php | |
parent | 15b45af550cb59013cbf915c63635fdf03cdd73e (diff) | |
parent | 15bc5c64f3f4c3226e6329f8b8aa73df4aeb5e0b (diff) | |
download | volse-hubzilla-b729cee9e4aaf908d28835341171311532ae05d6.tar.gz volse-hubzilla-b729cee9e4aaf908d28835341171311532ae05d6.tar.bz2 volse-hubzilla-b729cee9e4aaf908d28835341171311532ae05d6.zip |
Merge branch 'dev' into 'dev'
Dev sync
See merge request kostikov/core!1
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; |