Page MenuHomePhorge

D25568.1738407232.diff
No OneTemporary

D25568.1738407232.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
Sat, Feb 1, 10:53 (17 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1111688
Default Alt Text
D25568.1738407232.diff (633 B)

Event Timeline