Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15389942
D17258.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
799 B
Referenced Files
None
Subscribers
None
D17258.id.diff
View Options
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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 16, 5:46 AM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7355876
Default Alt Text
D17258.id.diff (799 B)
Attached To
Mode
D17258: Make some Audit status comparisons more lax, so state transactions only post once
Attached
Detach File
Event Timeline
Log In to Comment