From: Ivan Kohler Date: Tue, 12 Aug 2014 04:32:35 +0000 (-0700) Subject: fix status page X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=dd7bc54d93bea64114bff8e539323a9b4057c887 fix status page --- diff --git a/httemplate/view/Status.html b/httemplate/view/Status.html index 8dddd144e..b5da5e3f5 100644 --- a/httemplate/view/Status.html +++ b/httemplate/view/Status.html @@ -135,11 +135,11 @@ if ( _is_running('cdrd') ) { }, ]; - my $24ago = time2str('%Y-%m-$d %X', time - 86400); + my $dayago = time2str('%Y-%m-$d %X', time - 86400); my $cdrs = FS::Record->scalar_sql(qq{ SELECT COUNT(*) FROM cdr WHERE ( freesidestatus IS NULL OR freesidestatus = '' ) - AND calldate > '$24ago' + AND calldate > '$dayago' }); $status{'CDR Processing'} = [ { 'title' => 'Unprocessed CDRs (last 24 hours)',