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 ab4ea2a5b..71cc69ca9 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -2178,7 +2178,7 @@ May be null. If there is an error, returns the error, otherwise returns false. sub ut_textn { my($self,$field)=@_; - return $self->setfield($field, '') if $self-getfield($field) =~ /^$/; + return $self->setfield($field, '') if $self->getfield($field) =~ /^$/; $self->ut_text($field); } |