diff --git a/client/review/vcs/git.inc b/client/review/vcs/git.inc
index 167f2e2..b394494 100644
--- a/client/review/vcs/git.inc
+++ b/client/review/vcs/git.inc
@@ -119,7 +119,7 @@ class pifr_client_vcs_git extends pifr_client_vcs {
    */
   public function apply($patch, $patch_level = 1, $check_only = FALSE) {
     $test_result = pifr_client_review::exec("git apply --check -p$patch_level $patch", TRUE);
-    if (!check_only) {
+    if ($check_only) {
       return (!$test_result != 0);
     }
     if ($test_result) {
