summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-03-28 17:14:27 -0700
committerMark Wells <mark@freeside.biz>2012-03-28 17:14:27 -0700
commit38bd65e50f8976c2423691fea64e70420ff1ea39 (patch)
treed492f3e4a772a24e5adf1b09ccc7b40aa12eee9e /httemplate
parent614e3b25ba49614b644f2a65910db1522f0cd524 (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,