diff --git a/main/reports/reports.php b/main/reports/reports.php index 299083776b..78e9f9bfd6 100644 --- a/main/reports/reports.php +++ b/main/reports/reports.php @@ -108,8 +108,10 @@ if (is_array($reports_template[$_REQUEST['type']])) { // check number of result $numberOfResult = multiquery_num_rows($result); - if ($numberOfResult == 0) - die(get_lang('NoDataAvailable')); + if ($numberOfResult == 0) { + // This case should be taken care of by the display template itself, we should let the script run + //die(get_lang('NoDataAvailable')); + } } else { die(''.get_lang('ErrorWhileBuildingReport').''); }