diff --git a/preferences/editcategory.php b/preferences/editcategory.php index 4cd0937ed9..fba445763f 100644 --- a/preferences/editcategory.php +++ b/preferences/editcategory.php @@ -42,6 +42,11 @@ $c = CreateObject('phpgwapi.categories'); $c->app_name = $cats_app; + if ($new_parent) + { + $cat_parent = $new_parent; + } + if ($submit) { $errorcount = 0;