Page MenuHomePhorge

D25423.1743737363.diff
No OneTemporary

D25423.1743737363.diff

diff --git a/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php b/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
--- a/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
+++ b/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
@@ -36,7 +36,7 @@
$author = $ref->getAuthor();
$committer = $ref->getCommitter();
- $has_committer = (bool)strlen($committer);
+ $has_committer = phutil_nonempty_string($committer);
$identity_engine = id(new DiffusionRepositoryIdentityEngine())
->setViewer($viewer)

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 4, 03:29 (1 h, 23 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1128098
Default Alt Text
D25423.1743737363.diff (750 B)

Event Timeline