Page MenuHomePhorge

D25568.1737144860.diff
No OneTemporary

D25568.1737144860.diff

diff --git a/src/infrastructure/export/format/PhabricatorTextExportFormat.php b/src/infrastructure/export/format/PhabricatorTextExportFormat.php
--- a/src/infrastructure/export/format/PhabricatorTextExportFormat.php
+++ b/src/infrastructure/export/format/PhabricatorTextExportFormat.php
@@ -42,7 +42,9 @@
private function addRow(array $values) {
$row = array();
foreach ($values as $value) {
- $row[] = addcslashes($value, "\0..\37\\\177..\377");
+ if (phutil_nonempty_string($value)) {
+ $row[] = addcslashes($value, "\0..\37\\\177..\377");
+ }
}
$this->rows[] = implode("\t", $row);

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 17, 20:14 (1 d, 7 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1111688
Default Alt Text
D25568.1737144860.diff (633 B)

Event Timeline