summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-03-28 17:35:38 -0700
committerMark Wells <mark@freeside.biz>2012-03-28 17:35:38 -0700
commit09bdd45e0a95601b7c51c5dbbef03793f320a61d (patch)
tree52c53c0f133347f6f7e5d0e82054aef6e6421bde /httemplate
parent0c7f9a2952acf2caf16a2d1156f99d9c81b486b1 (diff)
customer tag event condition, #15116
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/elements/tr-select-cust_tag.html2
1 files changed, 1 insertions, 1 deletions
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,