X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-cust_tag.html;fp=httemplate%2Felements%2Ftr-select-cust_tag.html;h=5312644ef9ee061864b298acfa21d0d46e294545;hb=09bdd45e0a95601b7c51c5dbbef03793f320a61d;hp=b2b6d967e39c9d9d64f28293324679bafece6984;hpb=0c7f9a2952acf2caf16a2d1156f99d9c81b486b1;p=freeside.git diff --git a/httemplate/elements/tr-select-cust_tag.html b/httemplate/elements/tr-select-cust_tag.html index b2b6d967e..5312644ef 100644 --- a/httemplate/elements/tr-select-cust_tag.html +++ b/httemplate/elements/tr-select-cust_tag.html @@ -28,7 +28,7 @@ my $cgi = $opt{'cgi'}; my $is_report = $opt{'is_report'}; my @curr_tagnum = (); -if ( $cgi->param('error') ) { +if ( $cgi && $cgi->param('error') ) { @curr_tagnum = $cgi->param('tagnum'); } elsif ( $opt{'custnum'} ) { @curr_tagnum = map $_->tagnum,