Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2682549
D25414.1734663633.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
400 B
Referenced Files
None
Subscribers
None
D25414.1734663633.diff
View Options
diff --git a/src/view/phui/PHUISegmentBarView.php b/src/view/phui/PHUISegmentBarView.php
--- a/src/view/phui/PHUISegmentBarView.php
+++ b/src/view/phui/PHUISegmentBarView.php
@@ -30,7 +30,7 @@
require_celerity_resource('phui-segment-bar-view-css');
$label = $this->label;
- if (strlen($label)) {
+ if ($label !== null) {
$label = phutil_tag(
'div',
array(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 03:00 (20 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016427
Default Alt Text
D25414.1734663633.diff (400 B)
Attached To
Mode
D25414: Fix PHP 8.1 "strlen(null)" exception rendering PHUISegmentBar without a label
Attached
Detach File
Event Timeline
Log In to Comment