Skip to content

Commit a9546b2

Browse files
committed
minor bug
1 parent 7394837 commit a9546b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/routing/sfRoute.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ protected function flattenArrayElements(array $elements = []): array
299299
$flattened[] = $key;
300300

301301
if (is_array($value)) {
302-
$flattened[] = $this->flattenArrayElements($value);
302+
$flattened = array_merge($flattened, $this->flattenArrayElements($value));
303303
continue;
304304
}
305305

0 commit comments

Comments
 (0)