Completed
Push — master ( 722d9f...80d604 )
by Travis
05:26 queued 03:35
created
app/Http/Controllers/VotesController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
         return response()->json([
17 17
             'count' => $snippet->votes->count(),
18
-            'favourited' => (bool) count($changes['attached']),
18
+            'favourited' => (bool) count($changes[ 'attached' ]),
19 19
         ]);
20 20
     }
21 21
 }
Please login to merge, or discard this patch.