diff --git a/webapp-php/js/socorro/crash_trends.js b/webapp-php/js/socorro/crash_trends.js index 6bf2985618..6926f8d500 100644 --- a/webapp-php/js/socorro/crash_trends.js +++ b/webapp-php/js/socorro/crash_trends.js @@ -145,7 +145,9 @@ $(function() { currentDataArray = []; for(report_count in data) { - currentDataArray.push([data[report_count], barPosition]); + if(data[report_count]) { + currentDataArray.push([data[report_count], barPosition]); + } } barPosition += 1.5; return {"data" : currentDataArray};