From: Ivan Kohler Date: Fri, 5 Jun 2015 00:02:19 +0000 (-0700) Subject: debugging excessive cust_pkg->cust_main calls, RT#28526 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=52f30b1d784918f63cd403fa03a20eacf9c1a471 debugging excessive cust_pkg->cust_main calls, RT#28526 --- 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). sub cust_main { my $self = shift; + cluck 'cust_pkg->cust_main called' if $DEBUG; qsearchs( 'cust_main', { 'custnum' => $self->custnum } ); }