Skip to content

Commit

Permalink
minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
akhumphrey committed Sep 24, 2023
1 parent 7394837 commit a9546b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routing/sfRoute.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ protected function flattenArrayElements(array $elements = []): array
$flattened[] = $key;

if (is_array($value)) {
$flattened[] = $this->flattenArrayElements($value);
$flattened = array_merge($flattened, $this->flattenArrayElements($value));
continue;
}

Expand Down

0 comments on commit a9546b2

Please sign in to comment.