diff --git a/plugins/cck_storage_location/joomla_category/joomla_category.php b/plugins/cck_storage_location/joomla_category/joomla_category.php index 83f0c397f..738b0bc25 100644 --- a/plugins/cck_storage_location/joomla_category/joomla_category.php +++ b/plugins/cck_storage_location/joomla_category/joomla_category.php @@ -844,7 +844,7 @@ public static function parseRoute( &$vars, &$segments, $n, $config ) if ( $vars['id'] == 0 ) { throw new Exception( JText::_( 'JGLOBAL_CATEGORY_NOT_FOUND' ), 404 ); } else { - if ( ( JCck::on( '4.0' ) || !JCck::on( '4.0' ) && JComponentHelper::getParams( 'com_content' )->get( 'sef_advanced', 0 ) ) && ( $n == 1 || $n == 2 ) ) { + if ( ( JCck::on( '4.0' ) || !JCck::on( '4.0' ) && JComponentHelper::getParams( 'com_content' )->get( 'sef_advanced', 0 ) ) && ( $n == 1 || $n == 2 || $n == 3 ) ) { $segments = array(); } } @@ -996,4 +996,4 @@ public static function getStaticProperties( $properties ) return $properties; } } -?> \ No newline at end of file +?>