From 281f1f75966c10686a4354446a9996c404c316a5 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 14 May 2020 21:53:09 +1000 Subject: [PATCH] Fixes for null values in custom values (#3703) --- app/Factory/InvoiceItemFactory.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Factory/InvoiceItemFactory.php b/app/Factory/InvoiceItemFactory.php index cdb29f3247ff..77a621817c05 100644 --- a/app/Factory/InvoiceItemFactory.php +++ b/app/Factory/InvoiceItemFactory.php @@ -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; }