summaryrefslogtreecommitdiff
path: root/httemplate/elements/popup_link-cust_main.html
diff options
context:
space:
mode:
authorivan <ivan>2008-03-29 08:15:45 +0000
committerivan <ivan>2008-03-29 08:15:45 +0000
commit3f23bdfaef8eb6bb092b72ea741b63e243f8ab19 (patch)
tree38afeaebc98c09ae571c3ed4193d7a97cb54dac0 /httemplate/elements/popup_link-cust_main.html
parentca292755ee3fc2027707b046352414e06ad45584 (diff)
okay. and thank goodness its on 1.9. really fix error reporting on quick package order this time. have to change cust cancel popup slightly too, but its for the better (easier custnum parsing). and lastly make it easier for reason selection to be reused without stickiness-on-errors being a big pain in the ass
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