Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2596158
D25264.1730505212.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
698 B
Referenced Files
None
Subscribers
None
D25264.1730505212.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25264: Fix some PHP 8.1 "strlen(null)" exceptions on Differential Revision page
Attached
Detach File
Event Timeline
Log In to Comment