[freeside-commits] freeside/FS/FS cust_bill_pkg_detail.pm, 1.10.2.2, 1.10.2.3
Ivan,,,
ivan at wavetail.420.am
Fri Mar 26 23:21:59 PDT 2010
- Previous message: [freeside-commits] freeside/FS/FS cust_bill_pkg_detail.pm, 1.12, 1.13
- Next message: [freeside-commits] freeside/FS/FS Schema.pm, 1.202, 1.203 cust_attachment.pm, 1.1, 1.2 cust_credit.pm, 1.39, 1.40 cust_main.pm, 1.499, 1.500 cust_main_note.pm, 1.1, 1.2 cust_pay_void.pm, 1.7, 1.8 cust_pkg.pm, 1.160, 1.161 cust_pkg_reason.pm, 1.7, 1.8 cust_pkg_discount.pm, 1.5, 1.6 cust_refund.pm, 1.33, 1.34 banned_pay.pm, 1.1, 1.2 Upgrade.pm, 1.34, 1.35 otaker_Mixin.pm, NONE, 1.1 access_user.pm, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv13120
Modified Files:
Tag: FREESIDE_1_9_BRANCH
cust_bill_pkg_detail.pm
Log Message:
fix cust_bill_pkg_detail throwing a fatal error w/MySQL
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.2
retrieving revision 1.10.2.3
diff -u -w -d -r1.10.2.2 -r1.10.2.3
--- cust_bill_pkg_detail.pm 30 Dec 2009 02:39:24 -0000 1.10.2.2
+++ cust_bill_pkg_detail.pm 27 Mar 2010 06:21:57 -0000 1.10.2.3
@@ -241,8 +241,8 @@
warn "$me upgrading $class\n" if $DEBUG;
- my $columndef = dbdef->table($class->table)->column('classnum');
- unless ($columndef->type eq 'int4') {
+ my $type = dbdef->table($class->table)->column('classnum')->type;
+ unless ( $type =~ /^int/i || $type =~ /int$/i ) {
my $dbh = dbh;
if ( $dbh->{Driver}->{Name} eq 'Pg' ) {
- Previous message: [freeside-commits] freeside/FS/FS cust_bill_pkg_detail.pm, 1.12, 1.13
- Next message: [freeside-commits] freeside/FS/FS Schema.pm, 1.202, 1.203 cust_attachment.pm, 1.1, 1.2 cust_credit.pm, 1.39, 1.40 cust_main.pm, 1.499, 1.500 cust_main_note.pm, 1.1, 1.2 cust_pay_void.pm, 1.7, 1.8 cust_pkg.pm, 1.160, 1.161 cust_pkg_reason.pm, 1.7, 1.8 cust_pkg_discount.pm, 1.5, 1.6 cust_refund.pm, 1.33, 1.34 banned_pay.pm, 1.1, 1.2 Upgrade.pm, 1.34, 1.35 otaker_Mixin.pm, NONE, 1.1 access_user.pm, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list