Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
centreon
centreon
Commits
b1060899
Commit
b1060899
authored
Jun 26, 2020
by
Kevin Duret
Browse files
fix(reporting): fix reporting calculation when downtime actual_end_time is null (#8807)
Refs: MON-5551
parent
553f2301
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/perl/centreon/reporting/CentreonDownTime.pm
View file @
b1060899
...
...
@@ -90,7 +90,7 @@ sub getDownTime {
if
(
$row
->
{"
actual_start_time
"}
<
$start
)
{
$row
->
{"
actual_start_time
"}
=
$start
;
}
if
(
$row
->
{"
actual_end_time
"}
>
$end
||
!
defined
$row
->
{"
actual_end_time
"})
{
if
(
!
defined
$row
->
{"
actual_end_time
"}
||
$row
->
{"
actual_end_time
"}
>
$end
)
{
$row
->
{"
actual_end_time
"}
=
$end
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment