summaryrefslogtreecommitdiff
path: root/FS/FS/ClientAPI/MasonComponent.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-03-15 16:20:08 -0700
committerIvan Kohler <ivan@freeside.biz>2015-03-15 16:20:08 -0700
commit8c5702cc86a16f25a9ceb9b822b2aac6a324afaa (patch)
tree9a1a9469f2ae5f607e3d22709f40d426675a452a /FS/FS/ClientAPI/MasonComponent.pm
parent66ee0ce238a80eb556eef61785600d84d3f8d85b (diff)
load billing events faster, RT#21572
Diffstat (limited to 'FS/FS/ClientAPI/MasonComponent.pm')
-rw-r--r--FS/FS/ClientAPI/MasonComponent.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/ClientAPI/MasonComponent.pm b/FS/FS/ClientAPI/MasonComponent.pm
index 8a31185..695b4ca 100644
--- a/FS/FS/ClientAPI/MasonComponent.pm
+++ b/FS/FS/ClientAPI/MasonComponent.pm
@@ -100,6 +100,7 @@ my %session_callbacks = (
$args{part_pkg} = \@part_pkg;
$args{first_svc} = \@first_svc;
$args{no_comment} = 1;
+ $args{label_callback} = sub { shift->pkg_comment };
@$argsref = ( %args );
return ''; #no error