[freeside-commits] freeside/FS/FS cust_pkg.pm, 1.179.2.9, 1.179.2.10

Ivan,,, ivan at wavetail.420.am
Thu Jan 13 18:51:44 PST 2011


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv28003

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	cust_pkg.pm 
Log Message:
fix declined signup of prepaid package provisioning to RADIUS anyway, RT#10122

Index: cust_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pkg.pm,v
retrieving revision 1.179.2.9
retrieving revision 1.179.2.10
diff -u -w -d -r1.179.2.9 -r1.179.2.10
--- cust_pkg.pm	12 Jan 2011 06:26:43 -0000	1.179.2.9
+++ cust_pkg.pm	14 Jan 2011 02:51:42 -0000	1.179.2.10
@@ -493,7 +493,10 @@
   #trigger export of new RADIUS Expiration attribute when cust_pkg.bill changes
   foreach my $old_svc_acct ( @svc_acct ) {
     my $new_svc_acct = new FS::svc_acct { $old_svc_acct->hash };
-    my $s_error = $new_svc_acct->replace($old_svc_acct);
+    my $s_error =
+      $new_svc_acct->replace( $old_svc_acct,
+                              'depend_jobnum' => $options->{depend_jobnum},
+                            );
     if ( $s_error ) {
       $dbh->rollback if $oldAutoCommit;
       return $s_error;



More information about the freeside-commits mailing list