mirror of
https://gitnet.fr/deblan/side_menu.git
synced 2025-12-18 05:10:50 +01:00
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) {
|
||||
$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]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue