Page MenuHomePhorge

D25421.1734770599.diff
No OneTemporary

D25421.1734770599.diff

diff --git a/src/applications/audit/storage/PhabricatorAuditTransaction.php b/src/applications/audit/storage/PhabricatorAuditTransaction.php
--- a/src/applications/audit/storage/PhabricatorAuditTransaction.php
+++ b/src/applications/audit/storage/PhabricatorAuditTransaction.php
@@ -338,7 +338,15 @@
$author = null;
}
- if ($author) {
+ if ($new['authorPHID']) {
+ $is_author_committer = $new['authorPHID'] === $new['committerPHID'];
+ } else if (phutil_nonempty_string($new['authorName'])) {
+ $is_author_committer = $new['authorName'] === $new['committerName'];
+ } else {
+ $is_author_committer = false;
+ }
+
+ if ($author && !$is_author_committer) {
$title = pht(
'%s committed %s (authored by %s).',
$committer,

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 08:43 (15 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1024290
Default Alt Text
D25421.1734770599.diff (847 B)

Event Timeline