Completed
Pull Request — master (#2440)
by
unknown
02:30
created
src/Controllers/HasResourceActions.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,9 @@
 block discarded – undo
39 39
 
40 40
         $status = $this->form()->destroy($id);
41 41
 
42
-        if ($type == 'non-ajax')
43
-            return $status;
42
+        if ($type == 'non-ajax') {
43
+                    return $status;
44
+        }
44 45
 
45 46
         if ($status) {
46 47
             $data = [
Please login to merge, or discard this patch.