Fix check for encrypted file (bug #1596304).
This commit is contained in:
@@ -278,7 +278,7 @@
|
||||
// Retrieving local file header information
|
||||
$aP = unpack('v1VN/v1GPF/v1CM/v1FT/v1FD/V1CRC/V1CS/V1UCS/v1FNL', $vZ);
|
||||
// Check if data is encrypted
|
||||
$bE = ($aP['GPF'] && 0x0001) ? TRUE : FALSE;
|
||||
$bE = ($aP['GPF'] & 0x0001) ? TRUE : FALSE;
|
||||
$nF = $aP['FNL'];
|
||||
|
||||
// Special case : value block after the compressed data
|
||||
|
Reference in New Issue
Block a user