mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix issue with entity footer items causing 500 error
This commit is contained in:
parent
dd72740534
commit
b7a9700f90
@ -423,7 +423,7 @@ class Design extends BaseDesign
|
|||||||
{
|
{
|
||||||
$_variables = array_key_exists('variables', $this->context)
|
$_variables = array_key_exists('variables', $this->context)
|
||||||
? $this->context['variables']
|
? $this->context['variables']
|
||||||
: [];
|
: ['values' => ['$entity.public_notes' => nl2br($this->entity->public_notes), '$entity.terms' => $this->entity->terms, '$entity_footer' => $this->entity->footer], 'labels' => []];
|
||||||
|
|
||||||
if ($this->type == 'delivery_note') {
|
if ($this->type == 'delivery_note') {
|
||||||
return [];
|
return [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user