[freeside-commits] branch FREESIDE_3_BRANCH updated. dd7bc54d93bea64114bff8e539323a9b4057c887

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


The branch, FREESIDE_3_BRANCH has been updated
       via  dd7bc54d93bea64114bff8e539323a9b4057c887 (commit)
      from  c69b65ad2d388ecf94f4313bb68c98218a18960d (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 dd7bc54d93bea64114bff8e539323a9b4057c887
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Aug 11 21:32:35 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