mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
notifications - correct boolean variable checking
This commit is contained in:
parent
de02154a1b
commit
0532dc6a61
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue