Skip to content

Commit

Permalink
[TASK] Display site setting categories
Browse files Browse the repository at this point in the history
  • Loading branch information
linawolf committed Sep 30, 2024
1 parent 0dd8feb commit a99cc04
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ public function buildCategoryArray(array $categories, array $categoryLabels): ar
*/
public function assignConfvalsToCategories(string $category, array &$categoryArray, ConfvalNode $confval, array &$rootCategories): void
{
if (is_array($categoryArray[$category]['confvals']??false)) {
if (is_array($categoryArray[$category]['confvals'] ?? false)) {
$categoryArray[$category]['confvals'][] = $confval;
} else {
$categoryArray[$category] = [
Expand Down Expand Up @@ -409,7 +409,7 @@ private function buildCategoryConfvals(array $categories, string $idPrefix, Dire
}
assert(is_array($category['confvals']));
$confvals[] = new ConfvalNode(
$this->anchorNormalizer->reduceAnchor($idPrefix .'category-'. $key),
$this->anchorNormalizer->reduceAnchor($idPrefix . 'category-' . $key),
$key,
null,
false,
Expand Down

0 comments on commit a99cc04

Please sign in to comment.