Removes hardcoded "Misc" settings group translation.

This pull request allows to properly show "Misc" setting group in other languages.
This commit is contained in:
Pavel 2016-06-12 14:23:42 +03:00 committed by GitHub
parent 7d171f4453
commit c34b2afd9c
1 changed files with 1 additions and 1 deletions

View File

@ -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] = [];
}