[freeside-commits] freeside/FS/FS Record.pm,1.189,1.190
Jeff Finucane,420,,
jeff at wavetail.420.am
Sun Jul 12 06:27:10 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv27402
Modified Files:
Record.pm
Log Message:
stop gratuitous hash manipulatoin during enum untaint
Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.189
retrieving revision 1.190
diff -u -d -r1.189 -r1.190
--- Record.pm 8 Apr 2009 07:32:24 -0000 1.189
+++ Record.pm 12 Jul 2009 13:27:07 -0000 1.190
@@ -2342,7 +2342,7 @@
my( $self, $field, $choices ) = @_;
foreach my $choice ( @$choices ) {
if ( $self->getfield($field) eq $choice ) {
- $self->setfield($choice);
+ $self->setfield($field, $choice);
return '';
}
}
More information about the freeside-commits
mailing list