Update PrettyPage template to correctly use Frame::getFileLines

This commit is contained in:
filp
2013-03-13 13:53:09 +00:00
parent 8338e58274
commit 080bc07ae2
+1 -1
View File
@@ -215,7 +215,7 @@
$line = $frame->getLine();
// the $line is 1-indexed, we nab -1 where needed to account for this
$range = $frame->getFileLines($line - 3, $line + 3);
$range = $frame->getFileLines($line - 3, 4);
$start = key($range) + 1;
$code = join("\n", $range);
?>