]> git.mxchange.org Git - friendica.git/blobdiff - mod/notifications.php
Prevent unfollowing contacts from networks not supported natively
[friendica.git] / mod / notifications.php
index 52521b017a43cf7a02e41c2bd71432052b711eeb..145c38435017b0d9a5c1003ffa6fa65e2016a4d6 100644 (file)
@@ -133,6 +133,10 @@ function notifications_content(App $a)
 
        $notif_tpl = get_markup_template('notifications.tpl');
 
+       if (!isset($notifs['ident'])) {
+               logger('Missing data in notifs: ' . System::callstack(20), LOGGER_DEBUG);
+       }
+
        // Process the data for template creation
        if ($notifs['ident'] === 'introductions') {
                $sugg = get_markup_template('suggestions.tpl');