Просмотр исходного кода

Merge branch 'master' of https://github.com/unaio/una

AntonLV 3 лет назад
Родитель
Сommit
7227d4f879
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      template/scripts/BxBasePage.php

+ 1 - 1
template/scripts/BxBasePage.php

@@ -417,7 +417,7 @@ class BxBasePage extends BxDolPage
         ];
         
         
-        if (BxDolCover::getInstance($this)->isCover() && $this->_aProfileInfo){
+        if (BxDolCover::getInstance($this)->isCover() && isset($this->_aProfileInfo)){
             
             $oModule = BxDolModule::getInstance($this->getModule());