From c9ab1234bd0ab76260c7a967b0c0d3d55a03c735 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 11 Jul 2003 07:54:22 +0000 Subject: [PATCH] typo --- FS/FS/Record.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index c756e9825..02fd4e390 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -426,7 +426,7 @@ sub AUTOLOAD { $field =~ s/.*://; if ( defined($value) ) { confess "errant AUTOLOAD $field for $self (arg $value)" - unless $ref($self) && $self->can('setfield'); + unless ref($self) && $self->can('setfield'); $self->setfield($field,$value); } else { confess "errant AUTOLOAD $field for $self (no args)" -- 2.11.0