forked from deblan/side_menu
split long lines
This commit is contained in:
parent
3f04546a6e
commit
e1797e1e03
1 changed files with 2 additions and 1 deletions
|
|
@ -74,7 +74,8 @@ class CategoryRepository
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($categoriesLabels as $k => $category) {
|
foreach ($categoriesLabels as $k => $category) {
|
||||||
$categoriesLabels[$category['id']] = $category['translations'][$currentLanguage]['name'] ?? $category['translations']['en']['name'];
|
$categoriesLabels[$category['id']] = $category['translations'][$currentLanguage]['name'] ??
|
||||||
|
$category['translations']['en']['name'];
|
||||||
|
|
||||||
unset($categoriesLabels[$k]);
|
unset($categoriesLabels[$k]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue