[freeside-commits] freeside/httemplate/edit/process svc_acct.cgi, 1.14, 1.15

Ivan,,, ivan at wavetail.420.am
Sat Feb 20 19:16:04 PST 2010


Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv18024/httemplate/edit/process

Modified Files:
	svc_acct.cgi 
Log Message:
communigate, RT#7083

Index: svc_acct.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/svc_acct.cgi,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- svc_acct.cgi	26 Jan 2010 10:05:09 -0000	1.14
+++ svc_acct.cgi	21 Feb 2010 03:16:02 -0000	1.15
@@ -31,6 +31,18 @@
   $cgi->param($_, FS::UI::bytecount::parse_bytecount($cgi->param($_)) );
 }
 
+#unmunge cgp_accessmodes (falze laziness-ish w/part_svc.pm::process)
+unless ( $cgi->param('cgp_accessmodes') ) {
+  $cgi->param('cgp_accessmodes', 
+    join(' ',
+      sort map { /^cgp_accessmodes_([\w\/]+)$/ or die "no way"; $1; }
+               grep $cgi->param($_),
+                    grep /^cgp_accessmodes_([\w\/]+)$/,
+                         $cgi->param()
+        )
+  );
+}
+
 my %hash = $svcnum ? $old->hash : ();
 map {
     $hash{$_} = scalar($cgi->param($_));



More information about the freeside-commits mailing list