// Fixed AdminMeta in multishop

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17055 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-08-28 14:35:15 +00:00
parent c1b0ad7a93
commit 1329c12383
@@ -410,6 +410,14 @@ class AdminMetaControllerCore extends AdminController
{
parent::getList($id_lang, $orderBy, $orderWay, $start, $limit, Context::getContext()->shop->id);
}
public function renderList()
{
if (Shop::isFeatureActive() && Shop::getContext() != Shop::CONTEXT_SHOP)
$this->displayInformation($this->l('You can only display the page list in a shop context.'));
else
return parent::renderList();
}
/**
* Validate route syntax and save it in configuration