Page MenuHomePhorge

D25264.1730505212.diff
No OneTemporary

D25264.1730505212.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
Fri, Nov 1, 23:53 (20 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
954641
Default Alt Text
D25264.1730505212.diff (698 B)

Event Timeline