summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-08-11 21:32:34 -0700
committerIvan Kohler <ivan@freeside.biz>2014-08-11 21:32:34 -0700
commitc9b357c3316c2ed2b6697775150cf731eaf4236a (patch)
tree8ef107950508e8261bd4e57965f8350d7d8624b0
parent64a76489463208a44a0009f8ba3bc59fb1be9369 (diff)
fix status page
-rw-r--r--httemplate/view/Status.html4
1 files changed, 2 insertions, 2 deletions
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)',