Completed
Pull Request — master (#170)
by Simonas
04:25
created
Controller/ProfilesController.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,9 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.