Skip to content

Commit

Permalink
Fixes typo that might cause memory limit issues #67
Browse files Browse the repository at this point in the history
  • Loading branch information
madalinoprea committed Mar 3, 2016
1 parent 407213f commit 58da1ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Debug/Model/Logging.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public function getContent($filePath, $startPosition, $endPosition)
return '';
}

return trim(file_get_contents($filePath, null, null, $startPosition, $endPosition = $startPosition));
return trim(file_get_contents($filePath, null, null, $startPosition, $endPosition - $startPosition));
}

}

0 comments on commit 58da1ae

Please sign in to comment.