We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 88e6f9f + 8357e59 commit bfd203aCopy full SHA for bfd203a
classes/datatypes/ezbinaryfile/plugins/ezmultiparser.php
@@ -61,6 +61,12 @@ function __construct()
61
62
function parseFile( $fileName )
63
{
64
+ if( !$fileName )
65
+ {
66
+ eZDebug::writeError( "eztika cannot find the file $fileName; skipping", 'eztika class eZMultiParser' );
67
+ return false;
68
+ }
69
+
70
$originalFileSize = filesize( $fileName );
71
$this->writeEzTikaLog( '[START] eZMultiParser for File: '. round( $originalFileSize/1024, 2 ) .' KByte '. $fileName );
72
0 commit comments