mirror of
https://github.com/itflow-org/itflow
synced 2026-03-15 02:04:50 +00:00
Only show notificaiton in alert window for logged in user and increase the limit from 5 to 8
This commit is contained in:
@@ -65,8 +65,8 @@
|
|||||||
$sql_notifications = mysqli_query($mysqli, "SELECT * FROM notifications
|
$sql_notifications = mysqli_query($mysqli, "SELECT * FROM notifications
|
||||||
LEFT JOIN clients ON notification_client_id = client_id
|
LEFT JOIN clients ON notification_client_id = client_id
|
||||||
WHERE notification_dismissed_at IS NULL
|
WHERE notification_dismissed_at IS NULL
|
||||||
AND (notification_user_id = $session_user_id OR notification_user_id = 0)
|
AND notification_user_id = $session_user_id
|
||||||
ORDER BY notification_id DESC LIMIT 5"
|
ORDER BY notification_id DESC LIMIT 8"
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user