Removes hardcoded "Misc" settings group translation.
This pull request allows to properly show "Misc" setting group in other languages.
This commit is contained in:
parent
7d171f4453
commit
c34b2afd9c
|
|
@ -124,7 +124,7 @@ class SettingsManager
|
|||
*/
|
||||
$catItems = [];
|
||||
foreach ($this->items as $item) {
|
||||
$category = $item->category ?: 'Misc';
|
||||
$category = $item->category ?: self::CATEGORY_MISC;
|
||||
if (!isset($catItems[$category])) {
|
||||
$catItems[$category] = [];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue