Index: trunk/core/units/general/helpers/mod_rewrite_helper.php =================================================================== diff -u -N -r4806 -r5340 --- trunk/core/units/general/helpers/mod_rewrite_helper.php (.../mod_rewrite_helper.php) (revision 4806) +++ trunk/core/units/general/helpers/mod_rewrite_helper.php (.../mod_rewrite_helper.php) (revision 5340) @@ -103,7 +103,7 @@ WHERE NamedParentPath = '.$this->Conn->qstr($category_path); array_push($category_stack, $this->Conn->GetOne($sql) ); } - + $category_found = end($category_stack); if ($category_found !== false) $url_part = array_shift($url_parts); @@ -287,7 +287,7 @@ $passed[] = $module_prefix; $module_event = new kEvent($module_prefix.':ParseEnv', Array('url_parts' => $url_parts) ); if ($process_module) { - $this->Application->HandleEvent($module_event); + $this->Application->HandleEvent($module_event); } $item_id = $this->HTTPQuery->Get($module_prefix.'_id'); $module_params = Array($module_prefix.'_id' => $item_id ? $item_id : '0' );