From: ivan Date: Mon, 28 Jan 2002 11:24:50 +0000 (+0000) Subject: oops, syntax error in new() check for missing subclass table sub (eek) X-Git-Tag: freeside_1_4_0pre11~119 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=f31f46f6f60c2a4d6b4f69694e020c2ec48ab807 oops, syntax error in new() check for missing subclass table sub (eek) --- diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 5c828b7c6..6b7997f21 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -122,7 +122,7 @@ sub new { my $self = {}; bless ($self, $class); - unless defined ( $self->table ) { + unless ( defined ( $self->table ) ) { $self->{'Table'} = shift; carp "warning: FS::Record::new called with table name ". $self->{'Table'}; }