diff --git a/resources/views/invoices/edit.blade.php b/resources/views/invoices/edit.blade.php index 9799f54a67..31bb991d4a 100644 --- a/resources/views/invoices/edit.blade.php +++ b/resources/views/invoices/edit.blade.php @@ -853,7 +853,7 @@ if (contact.is_primary === '1') { contact.send_invoice = true; } - if (clientName != contactName) { + if (contactName && clientName != contactName) { $clientSelect.append(new Option(contactName, client.public_id)); } }