Fixed in a dirty way, should be improved.
This commit is contained in:
parent
b7d1afb01e
commit
47f84bcb55
@ -256,10 +256,11 @@ class IDF_Diff
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!$exists) {
|
if (!$exists) {
|
||||||
|
$orig = isset($orig_lines[$lc-1]) ? $orig_lines[$lc-1] : '';
|
||||||
$n_chunk[] = array(
|
$n_chunk[] = array(
|
||||||
$lc,
|
$lc,
|
||||||
$chunk[0][1]-$chunk[0][0]+$lc,
|
$chunk[0][1]-$chunk[0][0]+$lc,
|
||||||
$orig_lines[$lc-1]
|
$orig
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user