// Set default option for the menu in the installer

This commit is contained in:
Damien Metzger committed 2013-09-20 14:08:26 +02:00
1 parent aef0897436
commit fc42ce17b8
1 file changed
+1 -1
+1 -1
View File
@@ -468,7 +468,7 @@ class InstallModelInstall extends InstallAbstractModel
$employee->active = true; $employee->active = true;
$employee->id_profile = 1; $employee->id_profile = 1;
$employee->id_lang = Configuration::get('PS_LANG_DEFAULT'); $employee->id_lang = Configuration::get('PS_LANG_DEFAULT');
$employee->bo_show_screencast = 1; $employee->bo_menu = 1;
if (!$employee->add()) if (!$employee->add())
{ {
$this->setError($this->language->l('Cannot create admin account')); $this->setError($this->language->l('Cannot create admin account'));