// Fix BO connection bug with employees auth

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14807 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie committed 2012-04-23 12:07:26 +00:00
1 parent 7aa2055a80
commit 278ec73d66
1 file changed
+3
+3
View File
@@ -1647,6 +1647,9 @@ class AdminControllerCore extends Controller
public function initShopContext() public function initShopContext()
{ {
if (!$this->context->employee->isLoggedBack())
return;
// Change shop context ? // Change shop context ?
if (Shop::isFeatureActive() && Tools::getValue('setShopContext') !== false) if (Shop::isFeatureActive() && Tools::getValue('setShopContext') !== false)
{ {