Skip to content

Commit

Permalink
Fixed #80: Wrong variable used
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Jun 13, 2020
1 parent 76d41cf commit 9f52a99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser/parts/file_parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ private function openFile( $fileName )
ezcMailParserShutdownHandler::registerForRemoval( $dirName );
$this->fileName = $dirName . $fileName;

$fp = fopen( $this->fileName, 'w' );
if ( $this->fp === false )
$fp = @fopen( $this->fileName, 'w' );
if ( $fp === false )
{
throw new ezcBaseFileNotFoundException( $this->fileName );
}
Expand Down

0 comments on commit 9f52a99

Please sign in to comment.