Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14761667
D21171.id50410.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
661 B
Referenced Files
None
Subscribers
None
D21171.id50410.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D21171: Skip "null" lines when constructing raw documents for DocumentEngine rendering
Attached
Detach File
Event Timeline
Log In to Comment