Page MenuHomePhorge

D25422.1737733242.diff
No OneTemporary

D25422.1737733242.diff

diff --git a/src/applications/repository/storage/PhabricatorRepositoryCommitData.php b/src/applications/repository/storage/PhabricatorRepositoryCommitData.php
--- a/src/applications/repository/storage/PhabricatorRepositoryCommitData.php
+++ b/src/applications/repository/storage/PhabricatorRepositoryCommitData.php
@@ -97,7 +97,7 @@
$ref = $this->getCommitRef();
$author = $ref->getAuthor();
- if (strlen($author)) {
+ if (phutil_nonempty_string($author)) {
return $author;
}

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 15:40 (6 d, 21 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1147134
Default Alt Text
D25422.1737733242.diff (509 B)

Event Timeline