mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 16:13:54 +00:00
Fix nullable fields.
This commit is contained in:
@@ -110,6 +110,9 @@ class ImportJob extends Model
|
||||
*/
|
||||
public function getConfigurationAttribute($value)
|
||||
{
|
||||
if (is_null($value)) {
|
||||
return [];
|
||||
}
|
||||
if (strlen($value) == 0) {
|
||||
return [];
|
||||
}
|
||||
|
Reference in New Issue
Block a user