From d1d94101661d1a61a1c3c7a0dfe13c9c5afd8218 Mon Sep 17 00:00:00 2001 From: Yarik Date: Fri, 28 Apr 2017 18:41:16 +0300 Subject: [PATCH] Category link fix --- frontend/views/category/view.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/views/category/view.php b/frontend/views/category/view.php index eea8aad..5fab149 100755 --- a/frontend/views/category/view.php +++ b/frontend/views/category/view.php @@ -49,7 +49,7 @@ _________________________________________________________ --> $model->parent->lang->title, [ 'view', - 'category' => $model->parent->lang->title, + 'category' => $model->parent->lang->alias->value, ] ); } else { @@ -66,7 +66,7 @@ _________________________________________________________ --> $childCategory->lang->title, ( $childCategory->id === $model->id ) ? '#' : [ 'view', - 'category' => $childCategory->lang->title, + 'category' => $childCategory->lang->alias->value, ] ), [ @@ -82,7 +82,7 @@ _________________________________________________________ --> $childCategory->lang->title, [ 'view', - 'category' => $childCategory->lang->title, + 'category' => $childCategory->lang->alias->value, ] ) ); -- libgit2 0.21.4