|
@@ -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])){
|