[freeside-commits] freeside/httemplate/edit/process svc_domain.cgi, 1.9, 1.10

Ivan,,, ivan at wavetail.420.am
Mon Feb 22 01:14:06 PST 2010


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

Modified Files:
	svc_domain.cgi 
Log Message:
communigate: domain account defaults, RT#7083

Index: svc_domain.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/svc_domain.cgi,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- svc_domain.cgi	22 Feb 2010 03:22:14 -0000	1.9
+++ svc_domain.cgi	22 Feb 2010 09:14:04 -0000	1.10
@@ -27,6 +27,18 @@
   );
 }
 
+#unmunge acct_def_cgp_accessmodes (falze laziness-ahoy)
+unless ( $cgi->param('acct_def_cgp_accessmodes') ) {
+  $cgi->param('acct_def_cgp_accessmodes', 
+    join(' ',
+      sort map { /^acct_def_cgp_accessmodes_([\w\/]+)$/ or die "no way"; $1; }
+               grep $cgi->param($_),
+                    grep /^acct_def_cgp_accessmodes_([\w\/]+)$/,
+                         $cgi->param()
+        )
+  );
+}
+
 my $new = new FS::svc_domain ( {
   map {
     $_, scalar($cgi->param($_));



More information about the freeside-commits mailing list