From 4953b8219ad9bbf68d0bc07b7c82efdd7db2f4ba Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Tue, 26 Feb 2013 15:06:01 +0100 Subject: [PATCH] //added employee in the context when you install a shop --- install-dev/controllers/http/process.php | 1 + 1 file changed, 1 insertion(+) diff --git a/install-dev/controllers/http/process.php b/install-dev/controllers/http/process.php index 2e094ef92..e9ba725f0 100644 --- a/install-dev/controllers/http/process.php +++ b/install-dev/controllers/http/process.php @@ -68,6 +68,7 @@ class InstallControllerHttpProcess extends InstallControllerHttp Context::getContext()->language = new Language(Configuration::get('PS_LANG_DEFAULT')); Context::getContext()->country = new Country('PS_COUNTRY_DEFAULT'); Context::getContext()->cart = new Cart(); + Context::getContext()->employee = new Employee(1); define('_PS_SMARTY_FAST_LOAD_', true); require_once _PS_ROOT_DIR_.'/config/smarty.config.inc.php';