mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fixed problem with invoice design page
This commit is contained in:
parent
ed189fcc23
commit
eb572d9021
@ -209,7 +209,7 @@ class AccountController extends BaseController
|
||||
|
||||
$data['invoice'] = $invoice;
|
||||
$data['invoiceDesigns'] = InvoiceDesign::availableDesigns();
|
||||
$data['invoiceLabels'] = json_decode($account->invoice_labels);
|
||||
$data['invoiceLabels'] = json_decode($account->invoice_labels) ?: [];
|
||||
} else if ($subSection == ACCOUNT_EMAIL_TEMPLATES) {
|
||||
$data['invoiceEmail'] = $account->getEmailTemplate(ENTITY_INVOICE);
|
||||
$data['quoteEmail'] = $account->getEmailTemplate(ENTITY_QUOTE);
|
||||
|
Loading…
Reference in New Issue
Block a user