evite un php error si la boucle n'est pas lancée
This commit is contained in:
parent
a6a9d2ce69
commit
90441e75cc
@ -581,6 +581,7 @@ class Categorie
|
||||
{
|
||||
$primary_way = Array();
|
||||
$way = $this->get_primary_way($id);
|
||||
$w = array();
|
||||
foreach ($way as $cat)
|
||||
{
|
||||
if ($url == '')
|
||||
@ -594,7 +595,6 @@ class Categorie
|
||||
}
|
||||
|
||||
return implode($sep, $w);
|
||||
|
||||
}
|
||||
/**
|
||||
* Retourne un tableau contenant la liste des catégories mères
|
||||
|
||||
Loading…
Reference in New Issue
Block a user