summaryrefslogtreecommitdiff
path: root/httemplate/misc/cust_main_note-import.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/cust_main_note-import.cgi')
-rw-r--r--httemplate/misc/cust_main_note-import.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/cust_main_note-import.cgi b/httemplate/misc/cust_main_note-import.cgi
index 186289517..2e7dc8b65 100644
--- a/httemplate/misc/cust_main_note-import.cgi
+++ b/httemplate/misc/cust_main_note-import.cgi
@@ -49,7 +49,7 @@
if ( customerArray.length == 0 ) {
custnum_obj.value = 'Not found';
custnum_obj.style.color = '#ff0000';
- } else if ( customerArray.length == 5 ) {
+ } else if ( customerArray.length >= 5 ) {
var name = customerArray[1];
opt(customer_select,custnum,name,'#000000');
customer_select.selectedIndex = customer_select.length - 1;