diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-08-10 13:43:50 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-08-10 13:43:50 -0700 |
commit | 2f4da8767b73891ec097d86aab0d7dc80b331c1c (patch) | |
tree | 0d3ece72d794d21f06510c66ac28bcbb04999455 /FS | |
parent | 840bcad433cff431da71fbb001092d2605d09f13 (diff) |
quiet overzealous debugging
Diffstat (limited to 'FS')
-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}) : ''; } |