Index: modules/category_simple_patches/category.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/category/category.inc,v retrieving revision 1.42.2.18 diff -u -r1.42.2.18 category.inc --- modules/category_simple_patches/category.inc 30 Sep 2006 03:52:51 -0000 1.42.2.18 +++ modules/category_simple_patches/category.inc 14 Oct 2006 04:03:37 -0000 @@ -1212,7 +1212,7 @@ $hierarchy = 1; $parents = array(); $exclude = array(); - $default_parent = 0; + $default_parent = isset($node->parent_cont) ? $node->parent_cont : 0; if ($node->nid || $node->cnid) { $parents = category_get_parents($node->nid);