mirror of
https://github.com/moodle/moodle.git
synced 2025-07-03 21:45:31 +02:00
MDL-33753 fix sloppy refactoring regression in zip tweaking
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user