[-] BO : fix bug #PSCFV-2239 - js error on product page on IIS + PHP5.4

This commit is contained in:
tDidierjean
2012-05-09 16:50:05 +00:00
parent 682cbfea55
commit f3bd6fff58
3 changed files with 5 additions and 6 deletions
@@ -2152,7 +2152,7 @@ class AdminProductsControllerCore extends AdminController
$this->getLanguages();
$this->tpl_form_vars['defaultLanguage'] = Language::getLanguage(Configuration::get('PS_LANG_DEFAULT'));
$this->tpl_form_vars['defaultLanguage'] = Configuration::get('PS_LANG_DEFAULT');
$this->tpl_form_vars['currentIndex'] = self::$currentIndex;
$this->tpl_form_vars['display_multishop_checkboxes'] = (Shop::isFeatureActive() && Shop::getContext() != Shop::CONTEXT_SHOP && $this->display == 'edit');