diff options
author | jeff <jeff> | 2009-07-12 13:27:07 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-07-12 13:27:07 +0000 |
commit | 27af526f59996d1f1cb8f4181d4e320020c98062 (patch) | |
tree | a98b4e59cf5bfab20f95033d76531434afc1467a /FS | |
parent | 0457702b06344646733df138e8df351fadd7ea3e (diff) |
stop gratuitous hash manipulatoin during enum untaint
Diffstat (limited to 'FS')
-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 3e3af524c..be29b5c8a 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -2342,7 +2342,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 ''; } } |