Page MenuHomePhabricator

D21171.id50410.diff
No OneTemporary

D21171.id50410.diff

diff --git a/src/applications/differential/parser/DifferentialChangesetParser.php b/src/applications/differential/parser/DifferentialChangesetParser.php
--- a/src/applications/differential/parser/DifferentialChangesetParser.php
+++ b/src/applications/differential/parser/DifferentialChangesetParser.php
@@ -1901,9 +1901,13 @@
$text = array();
foreach ($lines as $line) {
+ if ($line === null) {
+ continue;
+ }
+
// If this is a "No newline at end of file." annotation, don't hand it
// off to the DocumentEngine.
- if ($line['type'] == '\\') {
+ if ($line['type'] === '\\') {
continue;
}

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 2:40 AM (20 h, 38 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7038193
Default Alt Text
D21171.id50410.diff (661 B)

Event Timeline