We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7394837 commit a9546b2Copy full SHA for a9546b2
lib/routing/sfRoute.class.php
@@ -299,7 +299,7 @@ protected function flattenArrayElements(array $elements = []): array
299
$flattened[] = $key;
300
301
if (is_array($value)) {
302
- $flattened[] = $this->flattenArrayElements($value);
+ $flattened = array_merge($flattened, $this->flattenArrayElements($value));
303
continue;
304
}
305
0 commit comments