Skip to content
Snippets Groups Projects
Commit 88c95134 authored by Daniel Cothran's avatar Daniel Cothran Committed by Bram Driesen
Browse files

Issue #3509746 by andileco, bramdriesen, austin_brian: Skip Display to own...

Issue #3509746 by andileco, bramdriesen, austin_brian: Skip Display to own activities not working as expected
parent 2ab3d64a
No related branches found
No related tags found
1 merge request!23Change the logic so that all notifications show when user has not checked skip display to own.
Pipeline #518341 passed with warnings
......@@ -147,15 +147,13 @@ class NotificationsWidgetBlock extends BlockBase implements ContainerFactoryPlug
&& $config['block_notification_type'] == 1
&& $config['block_notification_logs_display'] == 1
) {
$query->condition('n.entity_uid', $uid);
$query->condition('n.uid', $uid, '<>');
$query->condition('n.entity_uid', $uid, '<>');
$notificationType = 1;
}
elseif (isset($config['block_notification_type'])
&& $config['block_notification_type'] == 1
&& $config['block_notification_logs_display'] == 0
) {
$query->condition('n.entity_uid', $uid);
$notificationType = 1;
}
elseif (isset($config['block_notification_type'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment