Page MenuHomePhorge

D25264.1737424834.diff
No OneTemporary

D25264.1737424834.diff

diff --git a/src/applications/differential/customfield/DifferentialBranchField.php b/src/applications/differential/customfield/DifferentialBranchField.php
--- a/src/applications/differential/customfield/DifferentialBranchField.php
+++ b/src/applications/differential/customfield/DifferentialBranchField.php
@@ -36,8 +36,8 @@
}
private function getBranchDescription(DifferentialDiff $diff) {
- $branch = $diff->getBranch();
- $bookmark = $diff->getBookmark();
+ $branch = coalesce($diff->getBranch(), '');
+ $bookmark = coalesce($diff->getBookmark(), '');
if (strlen($branch) && strlen($bookmark)) {
return pht('%s (bookmark) on %s (branch)', $bookmark, $branch);

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 21, 02:00 (1 d, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1114966
Default Alt Text
D25264.1737424834.diff (698 B)

Event Timeline