Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BO : Right side block of attribute and attribute groups in combination tab not appears. #10392

Closed
wants to merge 8 commits into from
Expand Up @@ -543,7 +543,8 @@ public function formAction($id, Request $request)
}

$doctrine = $this->getDoctrine()->getManager();
$attributeGroups = $doctrine->getRepository('PrestaShopBundle:Attribute')->findByLangAndShop(1, 1);
$language = empty($languages[0]) ? ['id_lang' => 1, 'id_shop' => 1] : $languages[0];
$attributeGroups = $doctrine->getRepository('PrestaShopBundle:Attribute')->findByLangAndShop((int) $language['id_lang'], (int) ['id_shop']);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(int) ['id_shop'] is not and id.


$drawerModules = (new HookFinder())->setHookName('displayProductPageDrawer')
->setParams(['product' => $product])
Expand Down
2 changes: 1 addition & 1 deletion themes/classic/assets/css/theme.css

Large diffs are not rendered by default.