From d6cdd42eace2e65a603c4e51e12a2c9e7b7f7c3b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 21 Apr 2023 16:04:05 +0200 Subject: [PATCH] Fix version variable in INVALID_REQUIRED_PACKAGE_VERSION_NUMBER error message Fixes #5443 --- .../install/files/lib/system/package/PackageArchive.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/package/PackageArchive.class.php b/wcfsetup/install/files/lib/system/package/PackageArchive.class.php index 6299112b82..e413de4cea 100644 --- a/wcfsetup/install/files/lib/system/package/PackageArchive.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageArchive.class.php @@ -321,7 +321,7 @@ class PackageArchive throw new PackageValidationException( PackageValidationException::INVALID_REQUIRED_PACKAGE_VERSION_NUMBER, [ - 'version' => $data['version'] ?? '', + 'version' => $data['minversion'] ?? '', 'packageName' => $element->nodeValue, ] ); -- 2.20.1