From 1468362acf130b9044c5d23a39968f4fae4e4a5a Mon Sep 17 00:00:00 2001
From: Adrian Lang <lang@cosmocode.de>
Date: Wed, 26 May 2010 16:18:44 +0200
Subject: [PATCH] Fixing zip decompression in ZipLib.class.php
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This patch fixes a bug introduced in »code cleanup« #0b17fdc6719c24850fa7
---
 inc/ZipLib.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/ZipLib.class.php b/inc/ZipLib.class.php
index 09dbbd3bd..cf89a40a4 100644
--- a/inc/ZipLib.class.php
+++ b/inc/ZipLib.class.php
@@ -324,8 +324,8 @@ class ZipLib {
             $centd['comment'] = fread($zip, $data['comment_size']);
         } else {
             $centd['comment'] = '';
-            $centd['entries'] = $data['entries'];
         }
+        $centd['entries']      = $data['entries'];
         $centd['disk_entries'] = $data['disk_entries'];
         $centd['offset']       = $data['offset'];
         $centd['disk_start']   = $data['disk_start'];
-- 
GitLab