Index: branches/5.1.x/core/kernel/db/cat_event_handler.php =================================================================== diff -u -N -r13581 -r13987 --- branches/5.1.x/core/kernel/db/cat_event_handler.php (.../cat_event_handler.php) (revision 13581) +++ branches/5.1.x/core/kernel/db/cat_event_handler.php (.../cat_event_handler.php) (revision 13987) @@ -1,6 +1,6 @@ Application->findModule('Name', 'Core', 'RootCat'); + $parent_cat_id = $this->Application->getBaseCategory(); } if ((string)$parent_cat_id != 'any') { @@ -2047,7 +2047,7 @@ */ function OnResetSettings(&$event) { - $this->Application->StoreVar('ImportCategory', $this->Application->findModule('Name', 'Core', 'RootCat')); + $this->Application->StoreVar('ImportCategory', $this->Application->getBaseCategory()); } function OnCancelAction(&$event)