diff options
Diffstat (limited to 'ui/app/controllers/CControllerProblemViewRefresh.php')
-rw-r--r-- | ui/app/controllers/CControllerProblemViewRefresh.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/controllers/CControllerProblemViewRefresh.php b/ui/app/controllers/CControllerProblemViewRefresh.php index 8bf640164b4..7753a6a52e1 100644 --- a/ui/app/controllers/CControllerProblemViewRefresh.php +++ b/ui/app/controllers/CControllerProblemViewRefresh.php @@ -49,7 +49,7 @@ class CControllerProblemViewRefresh extends CControllerProblemView { 'show_suppressed' => 'in 0,1', 'unacknowledged' => 'in 0,1', 'compact_view' => 'in 0,1', - 'show_timeline' => 'in 0,1', + 'show_timeline' => 'in '.ZBX_TIMELINE_OFF.','.ZBX_TIMELINE_ON, 'details' => 'in 0,1', 'highlight_row' => 'in 0,1', 'show_opdata' => 'in '.OPERATIONAL_DATA_SHOW_NONE.','.OPERATIONAL_DATA_SHOW_SEPARATELY.','.OPERATIONAL_DATA_SHOW_WITH_PROBLEM, @@ -132,7 +132,7 @@ class CControllerProblemViewRefresh extends CControllerProblemView { 'show_suppressed' => $this->getInput('show_suppressed', ZBX_PROBLEM_SUPPRESSED_FALSE), 'unacknowledged' => $this->getInput('unacknowledged', 0), 'compact_view' => $this->getInput('compact_view', 0), - 'show_timeline' => $this->getInput('show_timeline', 0), + 'show_timeline' => $this->getInput('show_timeline', ZBX_TIMELINE_OFF), 'details' => $this->getInput('details', 0), 'highlight_row' => $this->getInput('highlight_row', 0), 'show_opdata' => $this->getInput('show_opdata', OPERATIONAL_DATA_SHOW_NONE), |