aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_compress.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-09-16 06:07:06 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-09-16 06:07:06 +0000
commitfe1367b31e7711b52f103ade06eec538823d467c (patch)
treed452300653914573a5a7c89b7d33a800093c6937 /phpBB/includes/functions_compress.php
parent9479bc428f10e166682087e8e61c19efcbbe2751 (diff)
downloadforums-fe1367b31e7711b52f103ade06eec538823d467c.tar
forums-fe1367b31e7711b52f103ade06eec538823d467c.tar.gz
forums-fe1367b31e7711b52f103ade06eec538823d467c.tar.bz2
forums-fe1367b31e7711b52f103ade06eec538823d467c.tar.xz
forums-fe1367b31e7711b52f103ade06eec538823d467c.zip
bug fixes
schema changes i really hope nothing went wrong git-svn-id: file:///svn/phpbb/trunk@6371 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_compress.php')
-rw-r--r--phpBB/includes/functions_compress.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/functions_compress.php b/phpBB/includes/functions_compress.php
index 09ad1f4e8f..cbada8a76d 100644
--- a/phpBB/includes/functions_compress.php
+++ b/phpBB/includes/functions_compress.php
@@ -322,8 +322,7 @@ class compress_zip extends compress
{
$name = str_replace('\\', '/', $name);
- $dtime = dechex($this->unix_to_dos_time($stat[9]));
- $hexdtime = pack('H8', $dtime[6] . $dtime[7] . $dtime[4] . $dtime[5] . $dtime[2] . $dtime[3] . $dtime[0] . $dtime[1]);
+ $hexdtime = pack('V', $this->unix_to_dos_time($stat[9]));
if ($is_dir)
{