Index: branches/RC/core/units/general/helpers/category_helper.php =================================================================== diff -u -N -r11760 -r11838 --- branches/RC/core/units/general/helpers/category_helper.php (.../category_helper.php) (revision 11760) +++ branches/RC/core/units/general/helpers/category_helper.php (.../category_helper.php) (revision 11838) @@ -175,7 +175,8 @@ elseif ($category_ids) { // get module by category path $module_root_categories = $this->getModuleRootCategories(); - $module_category_id = array_shift(array_intersect($category_ids, $module_root_categories)); + $common_categories = array_intersect($category_ids, $module_root_categories); + $module_category_id = array_shift($common_categories); // get 1st common category $module_info = $this->Application->findModule('RootCat', $module_category_id); }