From: ivan Date: Fri, 11 Jul 2003 07:54:22 +0000 (+0000) Subject: typo X-Git-Tag: freeside_1_5_0pre3~7 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=c9ab1234bd0ab76260c7a967b0c0d3d55a03c735 typo --- 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)"