Index: category.module =================================================================== RCS file: /usr/cvsroot/pwpages/modules/category/category.module,v retrieving revision 1.1 diff -u -r1.1 category.module --- category.module 31 Jul 2006 23:22:32 -0000 1.1 +++ category.module 3 Aug 2006 16:11:10 -0000 @@ -695,6 +695,7 @@ if (!isset($node->parents) || !is_array($node->parents)) { $node->parents = array($node->parents); } + $node->parents = array_values($node->parents); if (!isset($node->parents[0])) { if ($node->type == 'category-cat') { $node->parents[0] = $node->parent = $node->cnid;