Skip to content
Permalink
Browse files

Revert getArticleList method changes in startController class

  • Loading branch information...
Farzam Tahmasebmirza
Farzam Tahmasebmirza committed Oct 30, 2019
1 parent 61adefd commit 37c951738a58a455621e283781e3a09e865a8222
Showing with 13 additions and 1 deletion.
  1. +13 −1 source/Application/Controller/StartController.php
@@ -203,7 +203,19 @@ protected function _getLoadActionsParam()
*/
public function getArticleList()
{
return [];
if ($this->_aArticleList === null) {
$this->_aArticleList = [];
if ($this->_getLoadActionsParam()) {
// start list
$oArtList = oxNew(\OxidEsales\Eshop\Application\Model\ArticleList::class);
$oArtList->loadActionArticles('OXSTART');
if ($oArtList->count()) {
$this->_aArticleList = $oArtList;
}
}
}
return $this->_aArticleList;
}
/**

0 comments on commit 37c9517

Please sign in to comment.
You can’t perform that action at this time.