Fix to rewind filepointer when testing BOM marker

This commit is contained in:
Mark Baker 2013-06-03 13:39:58 +01:00
parent 7a7634fba6
commit f44b412420
1 changed files with 7 additions and 7 deletions

View File

@ -144,7 +144,7 @@ class PHPExcel_Reader_CSV extends PHPExcel_Reader_Abstract implements PHPExcel_R
*/
protected function _skipBOM()
{
rewind($fileHandle);
rewind($this->_fileHandle);
switch ($this->_inputEncoding) {
case 'UTF-8':