summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-06-30 07:17:48 +0000
committerivan <ivan>2002-06-30 07:17:48 +0000
commita486765cc7b6e1cb110720ba199788cf0f7c1280 (patch)
treec5337e07a82e3676c2d86af4d12fa351fd5fa9d2
parent33aa71dbc113342361b6872e9587945bbcfe88a3 (diff)
oops, very bad
-rw-r--r--FS/FS/Record.pm2
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}='';
}