From: Janusz Dobrowolski Date: Wed, 20 Jan 2021 22:16:58 +0000 (+0100) Subject: [0005326] Install Languages/Extensions/Themes/CoA: fixed warnings during module insta... X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=4022094621f5bdb8951fdf24c6074fe552dc5173 [0005326] Install Languages/Extensions/Themes/CoA: fixed warnings during module installation. --- diff --git a/includes/archive.inc b/includes/archive.inc index b1a81001..b99b15db 100644 --- a/includes/archive.inc +++ b/includes/archive.inc @@ -322,7 +322,8 @@ class tar_file extends archive while ($block = fread($fp, 512)) { - $temp = unpack("a100name/a8mode/a8uid/a8gid/a12size/a12mtime/a8checksum/a1type/a100symlink/a6magic/a2temp/a32temp/a32temp/a8temp/a8temp/a155prefix/a12temp", $block); + $temp = unpack("Z100name/Z8mode/Z8uid/Z8gid/Z12size/Z12mtime/Z8checksum/Z1type/Z100symlink/Z6magic/Z2temp/Z32temp/Z32temp/Z8temp/Z8temp/Z155prefix/Z12temp", $block); + $file = array ( 'name' => rtrim($temp['prefix']) . rtrim($temp['name']), 'stat' => array (