Page MenuHomePhorge

D25423.1734631724.diff
No OneTemporary

D25423.1734631724.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, 18:08 (21 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015114
Default Alt Text
D25423.1734631724.diff (750 B)

Event Timeline