Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(notification): correct undefined variable (#9751)
Browse files Browse the repository at this point in the history
  • Loading branch information
sc979 committed Apr 28, 2021
1 parent fee7854 commit 1747c31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/include/monitoring/status/Notifications/notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
if (!isset($_SESSION['centreon'])) {
exit;
}
$centreon = $_SESSION['centreon'];

if (!isset($obj->session_id) || !CentreonSession::checkSession($sid, $obj->DB)) {
exit;
}
Expand Down

0 comments on commit 1747c31

Please sign in to comment.