mirror of https://github.com/itflow-org/itflow
Show only logged in user notifications
This commit is contained in:
parent
eacb345c70
commit
c9b38b2b5f
|
|
@ -3,7 +3,7 @@
|
|||
require_once "inc_all.php";
|
||||
|
||||
|
||||
$sql = 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");
|
||||
$sql = 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 ORDER BY notification_id DESC");
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue