Commit 6d7217cfc611da2da75503f1ef5a0fa9b9969d15

Authored by Administrator
1 parent 89e1e18c

add variantSku

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
CatalogUrlManager.php
@@ -49,6 +49,8 @@ @@ -49,6 +49,8 @@
49 throw new HttpException(404, 'Page not found'); 49 throw new HttpException(404, 'Page not found');
50 } 50 }
51 $params[ 'category' ] = $category; 51 $params[ 'category' ] = $category;
  52 + } else {
  53 + throw new HttpException(404, 'Page not found');
52 } 54 }
53 if (!empty( $paths[ 2 ] )) { 55 if (!empty( $paths[ 2 ] )) {
54 // Filter 56 // Filter