summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-06-04 17:02:19 -0700
committerIvan Kohler <ivan@freeside.biz>2015-06-04 17:02:19 -0700
commit52f30b1d784918f63cd403fa03a20eacf9c1a471 (patch)
treed0490c09db33619a7bfddf65a694b15eda6c1e60
parent36b4c4911bb63592edf8d5189f6d0af1d8da2b39 (diff)
debugging excessive cust_pkg->cust_main calls, RT#28526
-rw-r--r--FS/FS/cust_pkg.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 8bf98e64f..14555dd67 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -3723,6 +3723,7 @@ Returns the parent customer object (see L<FS::cust_main>).
sub cust_main {
my $self = shift;
+ cluck 'cust_pkg->cust_main called' if $DEBUG;
qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
}