mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for null values in custom values (#3703)
This commit is contained in:
parent
d3b29d8ae2
commit
281f1f7596
@ -34,10 +34,10 @@ class InvoiceItemFactory
|
||||
$item->tax_rate3 = 0;
|
||||
$item->sort_id = 0;
|
||||
$item->line_total = 0;
|
||||
$item->custom_value1 = null;
|
||||
$item->custom_value2 = null;
|
||||
$item->custom_value3 = null;
|
||||
$item->custom_value4 = null;
|
||||
$item->custom_value1 = '';
|
||||
$item->custom_value2 = '';
|
||||
$item->custom_value3 = '';
|
||||
$item->custom_value4 = '';
|
||||
|
||||
return $item;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user