projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
243ec8f
)
emit a warning in this unlikely case again
author
ivan
<ivan>
Thu, 24 Jan 2002 17:02:53 +0000
(17:02 +0000)
committer
ivan
<ivan>
Thu, 24 Jan 2002 17:02:53 +0000
(17:02 +0000)
FS/FS/Record.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Record.pm
b/FS/FS/Record.pm
index
6c0f5f8
..
5c828b7
100644
(file)
--- a/
FS/FS/Record.pm
+++ b/
FS/FS/Record.pm
@@
-122,7
+122,10
@@
sub new {
my $self = {};
bless ($self, $class);
- $self->{'Table'} = shift unless defined ( $self->table );
+ unless defined ( $self->table ) {
+ $self->{'Table'} = shift;
+ carp "warning: FS::Record::new called with table name ". $self->{'Table'};
+ }
my $hashref = $self->{'Hash'} = shift;