[freeside-commits] freeside/FS/FS svc_acct.pm,1.231,1.232
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Jun 5 08:08:43 PDT 2007
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv3376
Modified Files:
svc_acct.pm
Log Message:
correct shorage of variables bound to prepared statement
Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -d -r1.231 -r1.232
--- svc_acct.pm 7 May 2007 02:13:54 -0000 1.231
+++ svc_acct.pm 5 Jun 2007 15:08:40 -0000 1.232
@@ -1753,7 +1753,7 @@
if (scalar(keys %handyhash)) {
my $sth = $dbh->prepare( $sql )
or die "Error preparing $sql: ". $dbh->errstr;
- my $rv = $sth->execute((grep{$_} values %handyhash), $self->svcnum);
+ my $rv = $sth->execute((values %handyhash), $self->svcnum);
die "Error executing $sql: ". $sth->errstr
unless defined($rv);
die "Can't update usage for svcnum ". $self->svcnum
More information about the freeside-commits
mailing list