oops, syntax error in new() check for missing subclass table sub (eek)
authorivan <ivan>
Mon, 28 Jan 2002 11:24:50 +0000 (11:24 +0000)
committerivan <ivan>
Mon, 28 Jan 2002 11:24:50 +0000 (11:24 +0000)
FS/FS/Record.pm

index 5c828b7..6b7997f 100644 (file)
@@ -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'};
   }