Fix for Argument handling code for a view taking in TID as argument, trying to get the parent TID to be returned (if it has)

  1. if (taxonomy_get_parents($args[0])) {
  2.   $args[0] = taxonomy_get_parents($args[0]);
  3. }
  4. return $args;

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.