diff options
-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 3404a67fe..e6126a13b 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -132,7 +132,7 @@ sub new { my $hashref = $self->{'Hash'} = shift; - foreach my $field ( grep defined($hashref->{$_}), $self->fields ) { + foreach my $field ( grep !defined($hashref->{$_}), $self->fields ) { $hashref->{$field}=''; } |