Page MenuHomePhabricator

D21171.diff
No OneTemporary

D21171.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
Thu, Jan 23, 11:14 PM (17 h, 39 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7038193
Default Alt Text
D21171.diff (661 B)

Event Timeline