From: Tim Düsterhus Date: Fri, 8 Sep 2023 13:17:36 +0000 (+0200) Subject: Fix error message in PackageArchive::extractTar() X-Git-Tag: 6.0.0_RC_1~26 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dc8acd4175451d1bad6afe5787dfeaeae16ac292;p=GitHub%2FWoltLab%2FWCF.git Fix error message in PackageArchive::extractTar() The two archive names were swapped. --- diff --git a/wcfsetup/install/files/lib/system/package/PackageArchive.class.php b/wcfsetup/install/files/lib/system/package/PackageArchive.class.php index e413de4cea..4a774272a9 100644 --- a/wcfsetup/install/files/lib/system/package/PackageArchive.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageArchive.class.php @@ -716,8 +716,8 @@ class PackageArchive // throw error message if not found. if (($fileIndex = $this->tar->getIndexByFilename($filename)) === false) { throw new PackageValidationException(PackageValidationException::FILE_NOT_FOUND, [ - 'archive' => $this->archive, - 'targetArchive' => $filename, + 'targetArchive' => $this->archive, + 'archive' => $filename, ]); }