From b8920f99cb93c3fdf4c1d23440c8492fd5168225 Mon Sep 17 00:00:00 2001 From: William Knauss Date: Thu, 5 Jun 2014 20:17:29 -0400 Subject: [PATCH] made _validate_offset protected --- parsecsv.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsecsv.lib.php b/parsecsv.lib.php index dfa704e..4f3a4f5 100644 --- a/parsecsv.lib.php +++ b/parsecsv.lib.php @@ -1043,12 +1043,12 @@ class parseCSV { /** * Validates if the row is within the offset or not if sorting is disabled * - * @access public + * @access protected * @param current_row the current row number being processed * * @return true of false */ - public function _validate_offset ($current_row) { + protected function _validate_offset ($current_row) { if ( $this->sort_by === null && $this->offset !== null && $current_row < $this->offset ) { return false; }