Yarik
/
artbox-ecommerce
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
40300fd069c4f50ffb53c8a4e9533708942d052a
Authored by
Alexey Boroda
2016-12-02 12:21:19 +0200
1 parent
d75b9d34
-Siblings bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
CatalogUrlManager.php
Inline
Side-by-side
CatalogUrlManager.php
Wrap text
Show/Hide comments
View file @
40300fd
...
...
@@ -46,7 +46,7 @@
46
46
)
47
47
->one();
48
48
if (empty( $category )) {
49
-
\Yii::$app->response->redirect('/
');
49
+
throw new HttpException(404, 'Page not found
');
50
50
}
51
51
$params[ 'category' ] = $category;
52
52
}
...
...