[freeside-commits] freeside/FS/FS/part_export prizm.pm, 1.3.2.3, 1.3.2.4

Jeff Finucane,420,, jeff at wavetail.420.am
Tue Nov 27 14:30:16 PST 2007


Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail:/tmp/cvs-serv5854

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	prizm.pm 
Log Message:
name management tweaking

Index: prizm.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/prizm.pm,v
retrieving revision 1.3.2.3
retrieving revision 1.3.2.4
diff -u -d -r1.3.2.3 -r1.3.2.4
--- prizm.pm	27 Nov 2007 19:34:38 -0000	1.3.2.3
+++ prizm.pm	27 Nov 2007 22:30:10 -0000	1.3.2.4
@@ -141,7 +141,8 @@
   $err_or_som = $self->prizm_command('NetworkIfService', 'addProvisionedElement',
                                       $networkid,
                                       $svc->mac_addr,
-                                      $name . " " . $svc->description,
+                                      substr($name . " " . $svc->description,
+                                             0, 50),
                                       $location,
                                       $contact,
                                       sprintf("%032X", $svc->authkey),
@@ -164,7 +165,7 @@
                   $svc->latitude,
                   $svc->longitude,
                   $svc->altitude,
-                  $name,
+                  $name . " " . $svc->description,
                   $location,
                   $contact,
                   );



More information about the freeside-commits mailing list