fix empty user language (#1054)
This commit is contained in:
@@ -514,6 +514,10 @@ class KimaiImporterCommand extends Command
|
||||
continue;
|
||||
}
|
||||
|
||||
if (empty($pref['value'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$newPref = new UserPreference();
|
||||
$newPref
|
||||
->setName($prefsToImport[$key])
|
||||
|
||||
Reference in New Issue
Block a user