Page MenuHomePhorge

D25272.1737654622.diff
No OneTemporary

D25272.1737654622.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, Jan 23, 17:50 (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1145190
Default Alt Text
D25272.1737654622.diff (456 B)

Event Timeline