[freeside-commits] freeside/FS/FS Record.pm,1.135.2.15,1.135.2.16
Jeff Finucane,420,,
jeff at wavetail.420.am
Sun Jul 12 06:28:31 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv27512
Modified Files:
Tag: FREESIDE_1_7_BRANCH
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.135.2.15
retrieving revision 1.135.2.16
diff -u -d -r1.135.2.15 -r1.135.2.16
--- Record.pm 8 Apr 2009 07:32:50 -0000 1.135.2.15
+++ Record.pm 12 Jul 2009 13:28:28 -0000 1.135.2.16
@@ -1823,7 +1823,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