@@ -12,8 +12,7 @@ |
||
12 | 12 | foreach($array as $key=>$value) { |
13 | 13 | if(is_array($value)) { |
14 | 14 | $result = $result + self::flatten($value, $prefix . $key . '.'); |
15 | - } |
|
16 | - else { |
|
15 | + } else { |
|
17 | 16 | $result[$prefix . $key] = $value; |
18 | 17 | } |
19 | 18 | } |