mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fixed problem with empty fields in CSV import
This commit is contained in:
parent
06c1534093
commit
139088086f
@ -21,7 +21,7 @@ class BaseTransformer extends TransformerAbstract
|
|||||||
|
|
||||||
protected function getString($data, $field)
|
protected function getString($data, $field)
|
||||||
{
|
{
|
||||||
return (isset($data->$field) && $data->$field) ? $data->$field : null;
|
return (isset($data->$field) && $data->$field) ? $data->$field : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getClientId($name)
|
protected function getClientId($name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user