diff --git a/lib/pclzip/pclzip.class.php b/lib/pclzip/pclzip.class.php index e7facc1eaa..ea36fbd689 100644 --- a/lib/pclzip/pclzip.class.php +++ b/lib/pclzip/pclzip.class.php @@ -2670,7 +2670,7 @@ } // ----- Read the file content - $v_content = @fread($v_file, $p_header['size']); + $v_content = $p_header['size'] ? @fread($v_file, $p_header['size']) : ''; // ----- Close the file @fclose($v_file);