Index: branches/unlabeled/unlabeled-1.15.2/core/units/configuration/configuration_event_handler.php =================================================================== diff -u -r5787 -r5820 --- branches/unlabeled/unlabeled-1.15.2/core/units/configuration/configuration_event_handler.php (.../configuration_event_handler.php) (revision 5787) +++ branches/unlabeled/unlabeled-1.15.2/core/units/configuration/configuration_event_handler.php (.../configuration_event_handler.php) (revision 5820) @@ -180,13 +180,7 @@ function OnProcessSelected(&$event) { $selected_ids = $this->Application->GetVar('selected_ids'); - $category_id = $selected_ids['c']; - if (strlen($category_id) == 0) { - // no category selected, the use current - $category_id = $this->Application->GetVar('m_cat_id'); - } - - $this->Application->StoreVar('ModuleRootCategory', $category_id); + $this->Application->StoreVar('ModuleRootCategory', $selected_ids['c']); $this->finalizePopup($event); }