fix empty user language (#1054)

This commit is contained in:
Kevin Papst
2019-08-21 11:16:44 +02:00
committed by GitHub
parent 8cd7f7de3f
commit 405ea0076b
2 changed files with 35 additions and 10 deletions

View File

@@ -514,6 +514,10 @@ class KimaiImporterCommand extends Command
continue;
}
if (empty($pref['value'])) {
continue;
}
$newPref = new UserPreference();
$newPref
->setName($prefsToImport[$key])