Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15430420
D11468.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
594 B
Referenced Files
None
Subscribers
None
D11468.diff
View Options
diff --git a/src/applications/differential/parser/DifferentialHunkParser.php b/src/applications/differential/parser/DifferentialHunkParser.php
--- a/src/applications/differential/parser/DifferentialHunkParser.php
+++ b/src/applications/differential/parser/DifferentialHunkParser.php
@@ -96,7 +96,7 @@
public function setOldLineTypeMap(array $map) {
$lines = $this->getOldLines();
foreach ($lines as $key => $data) {
- $lines[$key]['type'] = $map[$data['line']];
+ $lines[$key]['type'] = idx($map, $data['line']);
}
$this->oldLines = $lines;
return $this;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 25, 7:35 AM (3 d, 18 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7719145
Default Alt Text
D11468.diff (594 B)
Attached To
Mode
D11468: Fix "undefined offset" in hunk parser
Attached
Detach File
Event Timeline
Log In to Comment