From 26ea89fed625605c382699fd83c8a3edcdb90119 Mon Sep 17 00:00:00 2001 From: dwigton Date: Mon, 11 Feb 2013 21:30:10 -0600 Subject: [PATCH] Update app/code/core/Mage/Core/Model/App.php Added an explicit null of $_store, without it reinitStores() does not behave as expected in all cases. --- app/code/core/Mage/Core/Model/App.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/code/core/Mage/Core/Model/App.php b/app/code/core/Mage/Core/Model/App.php index c8393e2e8a92f..95169643cb734 100644 --- a/app/code/core/Mage/Core/Model/App.php +++ b/app/code/core/Mage/Core/Model/App.php @@ -736,6 +736,7 @@ public function reinitStores() */ protected function _initStores() { + $this->_store = null; $this->_stores = array(); $this->_groups = array(); $this->_website = null;