Merge pull request #3691 from FHenry/3.8
FIX : Always use type send in parameters in showCategories method
This commit is contained in:
commit
856bfaaa3a
@ -4696,7 +4696,7 @@ class Form
|
|||||||
|
|
||||||
if ($rendermode == 0)
|
if ($rendermode == 0)
|
||||||
{
|
{
|
||||||
$cate_arbo = $this->select_all_categories(Categorie::TYPE_PRODUCT, '', 'parent', 64, 0, 1);
|
$cate_arbo = $this->select_all_categories($type, '', 'parent', 64, 0, 1);
|
||||||
foreach($categories as $c) {
|
foreach($categories as $c) {
|
||||||
$arrayselected[] = $c->id;
|
$arrayselected[] = $c->id;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user