Bachir Soussi Chiadmi 8 years ago
parent
commit
cc653b73be
1 changed files with 3 additions and 2 deletions
  1. 3 2
      sites/all/modules/gui/materiobasemod/materio_taxonomy.module

+ 3 - 2
sites/all/modules/gui/materiobasemod/materio_taxonomy.module

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