MDL-33753 fix sloppy refactoring regression in zip tweaking

This commit is contained in:
Petr Škoda 2012-07-11 11:10:19 +02:00
parent 6fb8ae95f5
commit 00f744d2b1

View File

@ -613,7 +613,7 @@ class zip_archive extends file_archive {
// ASCII file names are always ok.
continue;
}
if ($file['extra'] !== '') {
if ($file['extra']) {
// Most probably not created by php zip ext, better to skip it.
continue;
}