1
0
Fork 0
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:
zacharyg 2012-09-13 10:46:16 -07:00
parent 09d8120b79
commit d714978f3f

View file

@ -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) {