mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Fix error in ponder comment hiding.
Summary: I'm a tard Test Plan: - view page Reviewers: pieter Reviewed By: pieter CC: aran, epriestley, vrana Maniphest Tasks: T1775 Differential Revision: https://secure.phabricator.com/D3487
This commit is contained in:
parent
09d8120b79
commit
d714978f3f
1 changed files with 4 additions and 1 deletions
|
@ -40,7 +40,10 @@ final class AphrontMoreView extends AphrontView {
|
|||
public function render() {
|
||||
$some = $this->some;
|
||||
|
||||
$text = $this->expandtext === null ?: "(Show More\xE2\x80\xA6)";
|
||||
$text = "(Show More\xE2\x80\xA6)";
|
||||
if ($this->expandtext !== null) {
|
||||
$text = $this->expandtext;
|
||||
}
|
||||
|
||||
$link = null;
|
||||
if ($this->more && $this->more != $this->some) {
|
||||
|
|
Loading…
Reference in a new issue