[freeside-commits] freeside/FS/FS cust_pkg.pm,1.84,1.85

Jason Hall jayce at wavetail.420.am
Wed Oct 17 09:08:01 PDT 2007


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

Modified Files:
	cust_pkg.pm 
Log Message:
insert_reason only worked if you passed in an existing reason, the code to insert a new reason was in place, but didn't let the new reason get used.  Code to do this was already in place, just not utilized.


Index: cust_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pkg.pm,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- cust_pkg.pm	18 Sep 2007 06:32:50 -0000	1.84
+++ cust_pkg.pm	17 Oct 2007 16:07:59 -0000	1.85
@@ -1724,7 +1724,7 @@
 
   my $cust_pkg_reason =
     new FS::cust_pkg_reason({ 'pkgnum'    => $self->pkgnum,
-                              'reasonnum' => $options{'reason'}, 
+                              'reasonnum' => $reasonnum, 
 		              'otaker'    => $otaker,
 		              'date'      => $options{'date'}
 			                       ? $options{'date'}



More information about the freeside-commits mailing list