diff --git a/src/applications/audit/editor/PhabricatorAuditEditor.php b/src/applications/audit/editor/PhabricatorAuditEditor.php --- a/src/applications/audit/editor/PhabricatorAuditEditor.php +++ b/src/applications/audit/editor/PhabricatorAuditEditor.php @@ -289,8 +289,8 @@ // 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