projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
840bcad
)
quiet overzealous debugging
author
Ivan Kohler
<ivan@freeside.biz>
Sun, 10 Aug 2014 20:43:50 +0000
(13:43 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Sun, 10 Aug 2014 20:43:50 +0000
(13:43 -0700)
FS/FS/cust_main_Mixin.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main_Mixin.pm
b/FS/FS/cust_main_Mixin.pm
index
769b049
..
40c0ae9
100644
(file)
--- 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}) : '';
}