summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2009-02-21 04:28:19 +0000
committerivan <ivan>2009-02-21 04:28:19 +0000
commit97b377f991f6e9475e8e95c211f67e1186d33062 (patch)
treed97e2757c56159e9772874592ea9e9e93d58b9e5 /FS
parent8885741747ff6ba17832401791ceb1b7073efdf2 (diff)
and for obj creation too
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Record.pm3
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;