From 00f744d2b1412ce6c89f39f13b88c244fd72c5cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20S=CC=8Ckoda?= Date: Wed, 11 Jul 2012 11:10:19 +0200 Subject: [PATCH] MDL-33753 fix sloppy refactoring regression in zip tweaking --- lib/filestorage/zip_archive.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filestorage/zip_archive.php b/lib/filestorage/zip_archive.php index b5227546bbb..1f3f8fbf46c 100644 --- a/lib/filestorage/zip_archive.php +++ b/lib/filestorage/zip_archive.php @@ -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; }