@@ -65,7 +65,9 @@ |
||
| 65 | 65 | $profiles[] = $agg->getValue('key'); |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | - if (empty($profiles) || !in_array('default', $profiles)) array_unshift($profiles, 'default'); |
|
| 68 | + if (empty($profiles) || !in_array('default', $profiles)) { |
|
| 69 | + array_unshift($profiles, 'default'); |
|
| 70 | + } |
|
| 69 | 71 | |
| 70 | 72 | return new JsonResponse($profiles); |
| 71 | 73 | } |