From 52f30b1d784918f63cd403fa03a20eacf9c1a471 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 4 Jun 2015 17:02:19 -0700 Subject: [PATCH] debugging excessive cust_pkg->cust_main calls, RT#28526 --- FS/FS/cust_pkg.pm | 1 + 1 file changed, 1 insertion(+) 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 } ); } -- 2.11.0