Page MenuHomePhorge

D25568.1736825437.diff
No OneTemporary

D25568.1736825437.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
Tue, Jan 14, 03:30 (5 d, 6 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1111688
Default Alt Text
D25568.1736825437.diff (633 B)

Event Timeline