Skip to content

Commit

Permalink
Trim values from XML so auto-formatting our XML does not break the au…
Browse files Browse the repository at this point in the history
…toloader. (#1350)
  • Loading branch information
woutersamaey committed Dec 14, 2020
1 parent 8907efc commit d04ac13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/code/core/Mage/Core/Model/Config.php
Expand Up @@ -1288,6 +1288,8 @@ public function getGroupedClassName($groupType, $classId, $groupRootNode = null)
}
}
}

$className = trim($className);

// Second - if entity is not rewritten then use class prefix to form class name
if (empty($className)) {
Expand Down

0 comments on commit d04ac13

Please sign in to comment.