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