Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15482448
D15892.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
628 B
Referenced Files
None
Subscribers
None
D15892.diff
View Options
diff --git a/src/applications/transactions/editfield/PhabricatorTextAreaEditField.php b/src/applications/transactions/editfield/PhabricatorTextAreaEditField.php
--- a/src/applications/transactions/editfield/PhabricatorTextAreaEditField.php
+++ b/src/applications/transactions/editfield/PhabricatorTextAreaEditField.php
@@ -51,7 +51,11 @@
protected function getValueForControl() {
$value = $this->getValue();
- return implode("\n", $value);
+ if ($this->getIsStringList()) {
+ return implode("\n", $value);
+ } else {
+ return $value;
+ }
}
protected function newConduitParameterType() {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 10, 5:36 AM (1 w, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7655933
Default Alt Text
D15892.diff (628 B)
Attached To
Mode
D15892: Fix an issue with TextAreaEditField affecting Paste
Attached
Detach File
Event Timeline
Log In to Comment