mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 03:50:54 +01:00
Fix an issue with TextAreaEditField affecting Paste
Summary: Fixes T10952. Fixes T10930. I didn't implement this method correctly when I expanded this field for repositories. Test Plan: Edited a paste without warnings. Reviewers: avivey, chad Reviewed By: chad Maniphest Tasks: T10930, T10952 Differential Revision: https://secure.phabricator.com/D15892
This commit is contained in:
parent
b21b43131c
commit
54409e7716
1 changed files with 5 additions and 1 deletions
|
@ -51,7 +51,11 @@ final class PhabricatorTextAreaEditField
|
|||
|
||||
protected function getValueForControl() {
|
||||
$value = $this->getValue();
|
||||
return implode("\n", $value);
|
||||
if ($this->getIsStringList()) {
|
||||
return implode("\n", $value);
|
||||
} else {
|
||||
return $value;
|
||||
}
|
||||
}
|
||||
|
||||
protected function newConduitParameterType() {
|
||||
|
|
Loading…
Reference in a new issue