Page MenuHomePhorge

D25423.1734620552.diff
No OneTemporary

D25423.1734620552.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
Thu, Dec 19, 15:02 (20 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015114
Default Alt Text
D25423.1734620552.diff (750 B)

Event Timeline