summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-01-28 11:24:50 +0000
committerivan <ivan>2002-01-28 11:24:50 +0000
commitf31f46f6f60c2a4d6b4f69694e020c2ec48ab807 (patch)
tree15f9e5967eff6c1f2daa20695a8d5779a68f974d
parent1aa750eba2b9b73b4f09f28b9acd748ee3669bd4 (diff)
oops, syntax error in new() check for missing subclass table sub (eek)
-rw-r--r--FS/FS/Record.pm2
1 files changed, 1 insertions, 1 deletions
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'};
}