1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Invoice Create - Client shows 'null' in select2

This commit is contained in:
Hillel Coren 2017-06-26 17:31:33 +03:00
parent 556fdfc8ee
commit 8aca0f0514

View File

@ -875,7 +875,7 @@
continue;
}
@endif
var clientName = client.name;
var clientName = client.name || '';
for (var j=0; j<client.contacts.length; j++) {
var contact = client.contacts[j];
var contactName = getContactDisplayNameWithEmail(contact);