Index: core/kernel/managers/rewrite_url_processor.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- core/kernel/managers/rewrite_url_processor.php (revision 15713) +++ core/kernel/managers/rewrite_url_processor.php (revision ) @@ -421,16 +421,14 @@ // http://site-url///[_]/ (category-based detail template) // http://site-url////[_]/ (customized url) - if ( $this->_processRewriteListeners($url_parts, $vars) ) { - return $vars; - } - + if ( !$this->_processRewriteListeners($url_parts, $vars) ) { + // rewrite listener wasn't able to determine template - $this->_parsePhysicalTemplate($url_parts, $vars); + $this->_parsePhysicalTemplate($url_parts, $vars); - if ( ($this->modulePrefix === false) && $vars['m_cat_id'] && !$this->_partsToParse ) { - // no category item found, but category found and all url matched -> module index page + if ( ($this->modulePrefix === false) && $vars['m_cat_id'] && !$this->_partsToParse ) { + // no category item found, but category found and all url matched -> module index page - - return $vars; + return $vars; + } } if ( $this->_partsToParse ) { \ No newline at end of file