diff --git a/src/applications/phid/view/PHUIHandleTagListView.php b/src/applications/phid/view/PHUIHandleTagListView.php index b789fa1bf1..eb909d4b86 100644 --- a/src/applications/phid/view/PHUIHandleTagListView.php +++ b/src/applications/phid/view/PHUIHandleTagListView.php @@ -61,7 +61,7 @@ final class PHUIHandleTagListView extends AphrontTagView { } } - 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 @@ final class PHUIHandleTagListView extends AphrontTagView { } 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()