mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 16:52:41 +01:00
Fix add comment view with no draft
This commit is contained in:
parent
49f75d2554
commit
0248c74914
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ final class DifferentialAddCommentView extends AphrontView {
|
|||
->setID('comment-content')
|
||||
->setLabel('Comment')
|
||||
->setEnableDragAndDropFileUploads(true)
|
||||
->setValue($this->draft->getDraft()))
|
||||
->setValue($this->draft ? $this->draft->getDraft() : null))
|
||||
->appendChild(
|
||||
id(new AphrontFormSubmitControl())
|
||||
->setValue($is_serious ? 'Submit' : 'Clowncopterize'));
|
||||
|
|
Loading…
Reference in a new issue