[freeside-commits] freeside/FS/FS Record.pm,1.214.2.7,1.214.2.8
Ivan,,,
ivan at wavetail.420.am
Wed Sep 28 22:54:28 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv27273
Modified Files:
Tag: FREESIDE_2_1_BRANCH
Record.pm
Log Message:
fix DBI binding for negative integers, shoudl fix CCH update, RT#14243
Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.214.2.7
retrieving revision 1.214.2.8
diff -u -w -d -r1.214.2.7 -r1.214.2.8
--- Record.pm 9 Jun 2011 22:09:08 -0000 1.214.2.7
+++ Record.pm 29 Sep 2011 05:54:25 -0000 1.214.2.8
@@ -265,7 +265,7 @@
my $bind_type = { TYPE => SQL_VARCHAR };
- if ( $type =~ /(big)?(int|serial)/i && $value =~ /^\d+(\.\d+)?$/ ) {
+ if ( $type =~ /(big)?(int|serial)/i && $value =~ /^-?\d+(\.\d+)?$/ ) {
$bind_type = { TYPE => SQL_INTEGER };
More information about the freeside-commits
mailing list