This commit is contained in:
Bachir Soussi Chiadmi 2015-11-24 11:02:29 +01:00
parent 73993a539b
commit cc653b73be

View File

@ -136,8 +136,9 @@ function materio_taxonomy_fr2en($op){
return;
}
$tags = taxonomy_get_tree(4); // get term list from vocabulary
$operations = [];
// get term list from vocabulary
$tags = taxonomy_get_tree(4);
$operations = array();
foreach ($tags as $tid => $t) {
if($t->name){
if(isset($data[$t->name])){