[freeside-commits] freeside/FS/FS/Report Table.pm,1.2.2.1,1.2.2.2
Mark Wells
mark at wavetail.420.am
Fri Feb 3 12:24:58 PST 2012
Update of /home/cvs/cvsroot/freeside/FS/FS/Report
In directory wavetail.420.am:/tmp/cvs-serv6517/FS/FS/Report
Modified Files:
Tag: FREESIDE_2_3_BRANCH
Table.pm
Log Message:
unbreak package churn report, fallout from #15393
Index: Table.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Report/Table.pm,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -w -d -r1.2.2.1 -r1.2.2.2
--- Table.pm 10 Jan 2012 18:38:43 -0000 1.2.2.1
+++ Table.pm 3 Feb 2012 20:24:56 -0000 1.2.2.2
@@ -546,12 +546,12 @@
}
-sub setup_pkg { shift->pkg_field( @_, 'setup' ); }
-sub susp_pkg { shift->pkg_field( @_, 'susp' ); }
-sub cancel_pkg { shift->pkg_field( @_, 'cancel'); }
+sub setup_pkg { shift->pkg_field( 'setup', @_ ); }
+sub susp_pkg { shift->pkg_field( 'susp', @_ ); }
+sub cancel_pkg { shift->pkg_field( 'cancel', @_ ); }
sub pkg_field {
- my( $self, $speriod, $eperiod, $agentnum, $field ) = @_;
+ my( $self, $field, $speriod, $eperiod, $agentnum ) = @_;
$self->scalar_sql("
SELECT COUNT(*) FROM cust_pkg
LEFT JOIN cust_main USING ( custnum )
More information about the freeside-commits
mailing list