diff options
author | jeff <jeff> | 2009-07-12 13:28:28 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-07-12 13:28:28 +0000 |
commit | ffc62c667c327a491e794ce6751a440b824319c0 (patch) | |
tree | 526d4da752f22e5f13d8fba322188818e26fe768 | |
parent | 14d07f48fe5fb1e4497dccdf747a119cc982e182 (diff) |
stop gratuitous hash manipulatoin during enum untaint
-rw-r--r-- | FS/FS/Record.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 3f065b8d5..03d62cb22 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -1823,7 +1823,7 @@ sub ut_enum { my( $self, $field, $choices ) = @_; foreach my $choice ( @$choices ) { if ( $self->getfield($field) eq $choice ) { - $self->setfield($choice); + $self->setfield($field, $choice); return ''; } } |