diff --git a/mozilla/tools/reporter/htdocs/stats.php b/mozilla/tools/reporter/htdocs/stats.php index 32b4824c6d0..b6de043f0ed 100644 --- a/mozilla/tools/reporter/htdocs/stats.php +++ b/mozilla/tools/reporter/htdocs/stats.php @@ -102,16 +102,16 @@ $content->assign('hosts_quant', $uniquehosts); // Reports in last 24 hours $yesterday = mktime(date("H"), date("i"), date("s"), date("m") , date("d")-1, date("Y")); $reports24_q =& $db->Execute("SELECT COUNT(report_id) as total - FROM report - WHERE report_file_date > "."'".date('Y-m-d H:i:s', $yesterday)."'"); + FROM report + WHERE report_file_date > "."'".date('Y-m-d H:i:s', $yesterday)."'"); $reports24 = $reports24_q->fields['total']; $content->assign('reports24', $reports24); // Reports in last week $last7days = mktime(date("H"), date("i"), date("s"), date("m") , date("d")-7, date("Y")); $last7days_q =& $db->Execute("SELECT COUNT(report_id) as total - FROM report - WHERE report_file_date > "."'".date('Y-m-d H:i:s', $last7days)."'"); + FROM report + WHERE report_file_date > "."'".date('Y-m-d H:i:s', $last7days)."'"); $last7days = $last7days_q->fields['total']; $content->assign('last7days', $last7days); @@ -121,5 +121,4 @@ $db->Close(); $title = "Statistics"; displayPage($content, 'stats', 'stats.tpl'); -?> - +?> \ No newline at end of file