summaryrefslogtreecommitdiff
path: root/httemplate/elements/popup_link-cust_main.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/popup_link-cust_main.html')
-rw-r--r--httemplate/elements/popup_link-cust_main.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/elements/popup_link-cust_main.html b/httemplate/elements/popup_link-cust_main.html
index 3b1363f49..a927f39f2 100644
--- a/httemplate/elements/popup_link-cust_main.html
+++ b/httemplate/elements/popup_link-cust_main.html
@@ -41,7 +41,8 @@ if (ref(@_[0]) eq 'HASH') {
($action, $label, $actionlabel, $color, $cust_main) = @_;
}
-$action .= '?'. $cust_main->custnum;
+$action .= ( $action =~ /\?/ ) ? ';' : '?';
+$action .= 'custnum='. $cust_main->custnum;
</%init>
<% $cust_main