]> git.mxchange.org Git - friendica.git/blobdiff - mod/notify.php
Display if an item is reshared
[friendica.git] / mod / notify.php
index 959b581d59a25942b19cb824ec4b11cd1e479a8a..87035817841d637b957037051ca087b34a9551ba 100644 (file)
@@ -48,7 +48,7 @@ function notify_init(App $a)
                $r = $nm->setAllSeen();
                $j = json_encode(['result' => ($r) ? 'success' : 'fail']);
                echo $j;
-               killme();
+               exit();
        }
 }
 
@@ -58,6 +58,8 @@ function notify_content(App $a)
                return Login::form();
        }
 
+       $notif_content = '';
+
        $nm = new NotificationsManager();
 
        $notif_tpl = Renderer::getMarkupTemplate('notifications.tpl');