mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
Restore string cast for textarea control
Summary: Removed in 48561a8b
but actually necessary.
Test Plan: Differential now renders textareas correctly.
Reviewers: vrana
Reviewed By: vrana
CC: aran
Differential Revision: https://secure.phabricator.com/D4643
This commit is contained in:
parent
fc6838b890
commit
94da7c2033
1 changed files with 3 additions and 1 deletions
|
@ -72,7 +72,9 @@ class AphrontFormTextAreaControl extends AphrontFormControl {
|
|||
'id' => $this->getID(),
|
||||
'placeholder' => $this->getPlaceHolder(),
|
||||
),
|
||||
$this->getValue());
|
||||
// NOTE: This needs to be string cast, because if we pass `null` the
|
||||
// tag will be self-closed and some browsers aren't thrilled about that.
|
||||
(string)$this->getValue());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue