--- ./include/services.inc.php.orig 2014-07-17 15:49:47.000000000 +0200 +++ ./include/services.inc.php 2014-08-27 12:32:59.000000000 +0200 @@ -242,10 +242,15 @@ 24 * DAY_IN_YEAR => 'yearly' ); - $caption = array(new CLink( - array(get_node_name_by_elid($service['serviceid'], null, NAME_DELIMITER), $service['name']), - 'report3.php?serviceid='.$service['serviceid'].'&year='.date('Y').'&period='.$periods[$period] - )); + if ($serviceSla['status'] === null) { + $caption = array(get_node_name_by_elid($service['serviceid'], null, NAME_DELIMITER), $service['name']); + } + else { + $caption = array(new CLink( + array(get_node_name_by_elid($service['serviceid'], null, NAME_DELIMITER), $service['name']), + 'report3.php?serviceid='.$service['serviceid'].'&year='.date('Y').'&period='.$periods[$period] + )); + } $trigger = $service['trigger']; if ($trigger) { $url = new CLink($trigger['description'],