[freeside-commits] branch master updated. 517283d2c614360fa7e849e7f9835317b4a566c6

Ivan ivan at 420.am
Mon Mar 18 10:59:38 PDT 2013


The branch, master has been updated
       via  517283d2c614360fa7e849e7f9835317b4a566c6 (commit)
      from  c89f59f7093eb0a11d3a15854e35d5f78f4424be (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 517283d2c614360fa7e849e7f9835317b4a566c6
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Mar 18 10:59:31 2013 -0700

    fix broadband view, RT#20862

diff --git a/httemplate/view/svc_broadband.cgi b/httemplate/view/svc_broadband.cgi
index 75e673c..05b6ac5 100644
--- a/httemplate/view/svc_broadband.cgi
+++ b/httemplate/view/svc_broadband.cgi
@@ -26,15 +26,15 @@ $labels{'coordinates'} = 'Latitude/Longitude';
 
 my @fields = (
   'description',
-  { field => 'routernum', value => \&router },
+  { field => 'routernum', value_callback => \&router },
   'speed_down',
   'speed_up',
-  { field => 'ip_addr', value => \&ip_addr },
-  { field => 'sectornum', value => \&sectornum },
-  { field => 'mac_addr', value => \&mac_addr },
+  { field => 'ip_addr', value_callback => \&ip_addr },
+  { field => 'sectornum', value_callback => \&sectornum },
+  { field => 'mac_addr', value_callback => \&mac_addr },
   #'latitude',
   #'longitude',
-  { field => 'coordinates', value => \&coordinates },
+  { field => 'coordinates', value_callback => \&coordinates },
   'altitude',
   'vlan_profile',
   'authkey',
@@ -42,7 +42,7 @@ my @fields = (
 );
 
 push @fields,
-  { field => 'usergroup', value => \&usergroup }
+  { field => 'usergroup', value_callback => \&usergroup }
   if $conf->exists('svc_broadband-radius');
 
 sub router {

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

Summary of changes:
 httemplate/view/svc_broadband.cgi |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)




More information about the freeside-commits mailing list