summaryrefslogtreecommitdiff
path: root/inc/ZipLib.class.php
diff options
context:
space:
mode:
authorAdrian Lang <lang@cosmocode.de>2010-05-26 16:18:44 +0200
committerAdrian Lang <lang@cosmocode.de>2010-05-26 16:34:42 +0200
commit1468362acf130b9044c5d23a39968f4fae4e4a5a (patch)
tree5e13ce1e9f59cd6adfce7a6bce99d725116b74c0 /inc/ZipLib.class.php
parent86228f109464404b30ea74164e855ef146c87249 (diff)
downloadrpg-1468362acf130b9044c5d23a39968f4fae4e4a5a.tar.gz
rpg-1468362acf130b9044c5d23a39968f4fae4e4a5a.tar.bz2
Fixing zip decompression in ZipLib.class.php
This patch fixes a bug introduced in »code cleanup« #0b17fdc6719c24850fa7
Diffstat (limited to 'inc/ZipLib.class.php')
-rw-r--r--inc/ZipLib.class.php2
1 files changed, 1 insertions, 1 deletions
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'];