Completed
Pull Request — master (#110)
by Franco
02:00
created
code/model/DMSDocument.php 1 patch
Doc Comments   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1409,8 +1409,4 @@
 block discarded – undo
1409 1409
             $valid->error("Selecting 'Only these people' from a editors list needs at least one group selected.");
1410 1410
         }
1411 1411
 
1412
-        return $valid;
1413
-    }
1414
-
1415
-
1416
-}
1412
+        return $valid
1417 1413
\ No newline at end of file
Please login to merge, or discard this patch.
tests/DMSGridFieldAddNewButtonTest.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,6 +48,4 @@
 block discarded – undo
48 48
 
49 49
         $fragments = $this->button->getHTMLFragments($this->gridField);
50 50
         $result = array_pop($fragments)->getValue();
51
-        $this->assertContains('?ID=123', $result);
52
-    }
53
-}
51
+        $this->assertContains('?ID=123', $result
54 52
\ No newline at end of file
Please login to merge, or discard this patch.