Skip to content

Commit

Permalink
Merge branch '1' into 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 27, 2024
2 parents 89eacbb + 9673527 commit 0f5eefb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/ModelAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ public function getModelImporters()
$importers = [];
foreach ($importerClasses as $modelClass => $importerClass) {
$tab = $modelClass;
if (isset($models[$modelClass])) {
if (isset($models[$modelClass]['dataClass'])) {
$modelClass = $models[$modelClass]['dataClass'];
}
$importer = new $importerClass($modelClass);
Expand Down

0 comments on commit 0f5eefb

Please sign in to comment.