Skip to content

Commit

Permalink
suppressed fopen warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mike182uk committed Oct 10, 2013
1 parent 545536d commit d4fa578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Keboola/Csv/CsvFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ protected function _openFile($mode)
throw new Exception("Cannot open file $this",
Exception::FILE_NOT_EXISTS, NULL, 'fileNotExists');
}
$this->_filePointer = fopen($this->getPathname(), $mode);
$this->_filePointer = @fopen($this->getPathname(), $mode);
if (!$this->_filePointer) {
throw new Exception("Cannot open file $this",
Exception::FILE_NOT_EXISTS, NULL, 'fileNotExists');
Expand Down

0 comments on commit d4fa578

Please sign in to comment.