Skip to content

Commit 6d4f36d

Browse files
⏫ Forwardport of #11240 to 2.3-develop branch
Applied pull request patch https://github.com/magento/magento2/pull/11240.patch (created by @leptoquark1) based on commit(s): 1. 16a8050 2. 86032de
1 parent 8e77e2f commit 6d4f36d

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/View/Model/Layout

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/View/Model/Layout/Merge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ private function getXmlErrors($libXmlErrors)
811811
protected function _getPhysicalTheme(\Magento\Framework\View\Design\ThemeInterface $theme)
812812
{
813813
$result = $theme;
814-
while ($result->getId() && !$result->isPhysical()) {
814+
while ($result !== null && $result->getId() && !$result->isPhysical()) {
815815
$result = $result->getParentTheme();
816816
}
817817
if (!$result) {

0 commit comments

Comments
 (0)