Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
icinga
:
production
>
icinga-nagtrap
> nagtrap-step.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nagtrap-step.patch of Package icinga-nagtrap
Index: share/include/classes/class.common.php =================================================================== --- share/include/classes/class.common.php (Revision 9375) +++ share/include/classes/class.common.php (Arbeitskopie) @@ -206,7 +206,11 @@ function readTraps() { if (DEBUG&&DEBUGLEVEL&1) debug('Start method common::readTraps()'); global $configINI, $hostname, $FRONTEND; - $step = $configINI['global']['step']; + if ( isset($_GET['step']) && is_numeric($_GET['step']) ) { + $step = $_GET['step']; + } else { + $step = $configINI['global']['step']; + } if(!$_GET['site']){ $site = 0; $from = 0;