FIX : Always use type send in parameters in showCategories method
This commit is contained in:
parent
c460873c85
commit
1f2a86078a
@ -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