Page MenuHomePhorge

D25272.1740280026.diff
No OneTemporary

D25272.1740280026.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
Sun, Feb 23, 03:07 (1 d, 22 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1145190
Default Alt Text
D25272.1740280026.diff (456 B)

Event Timeline