diff --git a/html/controllers/report_builder/download_report.php b/html/controllers/report_builder/download_report.php
index 98850ca632..9d221d2f17 100644
--- a/html/controllers/report_builder/download_report.php
+++ b/html/controllers/report_builder/download_report.php
@@ -22,7 +22,7 @@
$get = filter_input_array(INPUT_GET, $filters);
- if (XDReportManager::isValidFormat($get['format']) == false) {
+ if (!XDReportManager::isValidFormat($get['format'])) {
print "Invalid format specified";
exit;
}