1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

footer logic for custom props

This commit is contained in:
Benjamin Beganović 2020-09-11 16:46:49 +02:00
parent 78bf39fcd1
commit 3ac3f6006c

View File

@ -234,9 +234,9 @@ class Design extends BaseDesign
$variable = sprintf('%s%s', '$', $property);
if (
!is_null($this->entity->{$property}) ||
!empty($this->entity->{$property}) ||
$this->entity->{$property} !== 0
!is_null($this->entity->{$property}) &&
!empty($this->entity->{$property}) &&
$this->entity->{$property} != 0
) {
continue;
}