Page MenuHomePhorge

D25272.1743656627.diff
No OneTemporary

D25272.1743656627.diff

diff --git a/src/view/phui/PHUISegmentBarSegmentView.php b/src/view/phui/PHUISegmentBarSegmentView.php
--- a/src/view/phui/PHUISegmentBarSegmentView.php
+++ b/src/view/phui/PHUISegmentBarSegmentView.php
@@ -55,7 +55,7 @@
$left = sprintf('%.2f%%', $left);
$tooltip = $this->tooltip;
- if (strlen($tooltip)) {
+ if (phutil_nonempty_string($tooltip)) {
Javelin::initBehavior('phabricator-tooltips');
$sigil = 'has-tooltip';

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 3, 05:03 (4 d, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1145190
Default Alt Text
D25272.1743656627.diff (456 B)

Event Timeline