projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14d07f4
)
stop gratuitous hash manipulatoin during enum untaint
author
jeff
<jeff>
Sun, 12 Jul 2009 13:28:28 +0000
(13:28 +0000)
committer
jeff
<jeff>
Sun, 12 Jul 2009 13:28:28 +0000
(13:28 +0000)
FS/FS/Record.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Record.pm
b/FS/FS/Record.pm
index
3f065b8
..
03d62cb
100644
(file)
--- 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 '';
}
}