Page MenuHomePhabricator

D15508.diff
No OneTemporary

D15508.diff

diff --git a/src/applications/phid/view/PHUIHandleTagListView.php b/src/applications/phid/view/PHUIHandleTagListView.php
--- a/src/applications/phid/view/PHUIHandleTagListView.php
+++ b/src/applications/phid/view/PHUIHandleTagListView.php
@@ -61,7 +61,7 @@
}
}
- if ($this->limit && ($this->limit > count($handles))) {
+ if ($this->limit && (count($handles) > $this->limit)) {
if (!is_array($handles)) {
$handles = iterator_to_array($handles);
}
@@ -85,7 +85,7 @@
}
if ($this->limit) {
- if ($this->limit < count($this->handles)) {
+ if (count($this->handles) > $this->limit) {
$tip_text = implode(', ', mpull($this->handles, 'getName'));
$more = $this->newPlaceholderTag()

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 22, 6:14 PM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7385859
Default Alt Text
D15508.diff (760 B)

Event Timeline