From: ivan Date: Fri, 11 Jul 2003 07:54:24 +0000 (+0000) Subject: typo X-Git-Tag: freeside_1_4_1rc5~10 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=28cc3f1398da869ad364a93ce76a85b814132fb2;p=freeside.git typo --- diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 45d4dbee0..83f1c540c 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -428,7 +428,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)"