X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Femail-link.html;h=2612faabb8480c71212910db90cba40bd0ff8636;hb=fccb0009d3b5ea3b07364520754d6f956cdeb861;hp=692e5bc2e8aa32b687c2c9f4039417a5d99fb686;hpb=6c9cd1c36adbb9fc950fcf0a0b269fa6f16838a1;p=freeside.git
diff --git a/httemplate/elements/email-link.html b/httemplate/elements/email-link.html
index 692e5bc2e..2612faabb 100644
--- a/httemplate/elements/email-link.html
+++ b/httemplate/elements/email-link.html
@@ -1,9 +1,10 @@
% if ( $FS::CurrentUser::CurrentUser->access_right('Bulk send customer notices') ) {
-<%$label%>
+<%$label%>
% }
<%init>
my %opt = @_;
my $table = $opt{'table'};
+my $agent_virt_agentnum = $opt{'agent_virt_agentnum'};
my $search_hash = $opt{'search_hash'};
die "'table' required" if !$table;
die "'search_hash' required" if !$search_hash;