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

Commit

Permalink
fix(ui): avoid php notice in UI notification (#6266)
Browse files Browse the repository at this point in the history
  • Loading branch information
smutel authored and kduret committed Jul 10, 2018
1 parent 64f3eea commit 455ed9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions www/include/monitoring/status/Notifications/notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@

$obj = new CentreonXMLBGRequest($sid, 1, 1, 0, 1);

if (!isset($_SESSION['centreon'])) {
exit;
}
$centreon = $_SESSION['centreon'];
if (!isset($obj->session_id) || !CentreonSession::checkSession($obj->session_id, $obj->DB)) {
exit;
Expand Down

0 comments on commit 455ed9a

Please sign in to comment.