taxonomy_get_vocabulary function in taxonomy wrapper module returns array This function in original taxonomy module returns it as object. Change in return value breaks some dependent functions ( i faced the problem in tagadelic module). So this function in wrapper module must return same information as object. I solved this problem by adding the following line of code at the end of the function taxonomy_get_vocabulary in wrapper module.

//return $vocabulary;
foreach($vocabulary as $vockey => $vocvalue){
$vocobject->$vockey = $vocvalue;
}
return $vocobject;

Comments

JirkaRybka’s picture