mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-33753 fix sloppy refactoring regression in zip tweaking
This commit is contained in:
parent
6fb8ae95f5
commit
00f744d2b1
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user