]> git.mxchange.org Git - friendica.git/blobdiff - mod/notifications.php
remove api_format_messages_win and include new fields in api_format_messages
[friendica.git] / mod / notifications.php
index 01dce2f447df1b9ce2fb6e2bbc641c106a4a2dcb..d43e2cc04f95a68aab760207fa4242b9f7a55203 100644 (file)
@@ -148,8 +148,8 @@ function notifications_content(&$a) {
 
                // The link to switch between ignored and normal connection requests
                $notif_show_lnk = array(
-                       'href' => ($all === false ? 'notifications/intros/all' : 'notifications/intros' ),
-                       'text' => ($all === false ? t('Show Ignored Requests') : t('Hide Ignored Requests'))
+                       'href' => (!$all ? 'notifications/intros/all' : 'notifications/intros' ),
+                       'text' => (!$all ? t('Show Ignored Requests') : t('Hide Ignored Requests'))
                );
 
                // Loop through all introduction notifications.This creates an array with the output html for each