diff options
| author | ivan <ivan> | 2009-02-21 04:28:19 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2009-02-21 04:28:19 +0000 |
| commit | 97b377f991f6e9475e8e95c211f67e1186d33062 (patch) | |
| tree | d97e2757c56159e9772874592ea9e9e93d58b9e5 | |
| parent | 8885741747ff6ba17832401791ceb1b7073efdf2 (diff) | |
and for obj creation too
| -rw-r--r-- | FS/FS/Record.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 809ec0a36..2d0263b22 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -154,7 +154,8 @@ sub new { unless ( defined ( $self->table ) ) { $self->{'Table'} = shift; - carp "warning: FS::Record::new called with table name ". $self->{'Table'}; + carp "warning: FS::Record::new called with table name ". $self->{'Table'} + unless $nowarn_classload; } $self->{'Hash'} = shift; |
