diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-08-10 13:43:47 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-08-10 13:43:47 -0700 |
commit | ccba8f1b1379e45176c51733bb2fd451426d950a (patch) | |
tree | bb6d5800be76f85d7386b1a4bdc5fa1af7ec304c | |
parent | 918b627555b7fbce548a21aa1e46b686505c3930 (diff) |
quiet overzealous debugging
-rw-r--r-- | FS/FS/cust_main_Mixin.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm index 769b049db..40c0ae9f9 100644 --- a/FS/FS/cust_main_Mixin.pm +++ b/FS/FS/cust_main_Mixin.pm @@ -2,7 +2,7 @@ package FS::cust_main_Mixin; use strict; use vars qw( $DEBUG $me ); -use Carp qw( confess ); +use Carp qw( confess carp cluck ); use FS::UID qw(dbh); use FS::cust_main; use FS::Record qw( qsearch qsearchs ); @@ -38,6 +38,7 @@ sub cust_linked { $_[0]->custnum; } sub cust_main { my $self = shift; + cluck ref($self). '->cust_main called' if $DEBUG; $self->cust_linked ? qsearchs('cust_main', {custnum => $self->custnum}) : ''; } |