[freeside-commits] branch master updated. c9b357c3316c2ed2b6697775150cf731eaf4236a

Ivan ivan at 420.am
Mon Aug 11 21:32:35 PDT 2014


The branch, master has been updated
       via  c9b357c3316c2ed2b6697775150cf731eaf4236a (commit)
      from  64a76489463208a44a0009f8ba3bc59fb1be9369 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c9b357c3316c2ed2b6697775150cf731eaf4236a
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Aug 11 21:32:34 2014 -0700

    fix status page

diff --git a/httemplate/view/Status.html b/httemplate/view/Status.html
index 8dddd14..b5da5e3 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)',

-----------------------------------------------------------------------

Summary of changes:
 httemplate/view/Status.html |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list