diff --git a/src/applications/audit/editor/PhabricatorAuditEditor.php b/src/applications/audit/editor/PhabricatorAuditEditor.php
index fe904913ae..952cf50a77 100644
--- a/src/applications/audit/editor/PhabricatorAuditEditor.php
+++ b/src/applications/audit/editor/PhabricatorAuditEditor.php
@@ -289,8 +289,8 @@ final class PhabricatorAuditEditor
 
     // If the commit has changed state after this edit, add an informational
     // transaction about the state change.
-    if ($old_status !== $new_status) {
-      if ($new_status === $partial_status) {
+    if ($old_status != $new_status) {
+      if ($new_status == $partial_status) {
         // This state isn't interesting enough to get a transaction. The
         // best way we could lead the user forward is something like "This
         // commit still requires additional audits." but that's redundant and