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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user