Fixes for null values in custom values (#3703)

This commit is contained in:
David Bomba 2020-05-14 21:53:09 +10:00 committed by GitHub
parent d3b29d8ae2
commit 281f1f7596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}