summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/elements/select-payby.html2
-rw-r--r--httemplate/misc/cust_pay-import.cgi2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/select-payby.html b/httemplate/elements/select-payby.html
index 2018874e7..a976b77cf 100644
--- a/httemplate/elements/select-payby.html
+++ b/httemplate/elements/select-payby.html
@@ -3,7 +3,7 @@
<% $onchange %>
>
-% unless ( $opt{'multiple'} || $opt{'no_all'} ) {
+% unless ( $opt{'multiple'} || $opt{'disable_empty'} ) {
<OPTION VALUE="" <% '' eq $value ? 'SELECTED' : '' %> ><% mt('all') |h %>
% }
diff --git a/httemplate/misc/cust_pay-import.cgi b/httemplate/misc/cust_pay-import.cgi
index ee0154db5..102f84286 100644
--- a/httemplate/misc/cust_pay-import.cgi
+++ b/httemplate/misc/cust_pay-import.cgi
@@ -41,7 +41,7 @@ Import a file containing customer payments.
<% include( '/elements/tr-select-payby.html',
'paybys' => \%paybys,
- 'no_all' => 1,
+ 'disable_empty' => 1,
'label' => '<B>Payment type</B>',
)
%>