[freeside-commits] freeside/FS/FS cust_bill_pkg_detail.pm, 1.10.2.4, 1.10.2.5
Ivan,,,
ivan at wavetail.420.am
Fri Oct 22 17:54:12 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv804
Modified Files:
Tag: FREESIDE_1_9_BRANCH
cust_bill_pkg_detail.pm
Log Message:
fix upgrades from old 1.7
Index: cust_bill_pkg_detail.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill_pkg_detail.pm,v
retrieving revision 1.10.2.4
retrieving revision 1.10.2.5
diff -u -w -d -r1.10.2.4 -r1.10.2.5
--- cust_bill_pkg_detail.pm 16 Aug 2010 20:11:09 -0000 1.10.2.4
+++ cust_bill_pkg_detail.pm 23 Oct 2010 00:54:10 -0000 1.10.2.5
@@ -238,7 +238,10 @@
warn "$me upgrading $class\n" if $DEBUG;
- my $type = dbdef->table($class->table)->column('classnum')->type;
+ my $classnum = dbdef->table($class->table)->column('classnum')
+ or return;
+
+ my $type = $classnum->type;
unless ( $type =~ /^int/i || $type =~ /int$/i ) {
my $dbh = dbh;
More information about the freeside-commits
mailing list