From 49d40b0ee83c8f63cca0092dcfd2703d2e0f0dea Mon Sep 17 00:00:00 2001 From: Fulgurance Date: Sun, 5 Jan 2025 16:59:58 +0000 Subject: [PATCH] Patched wrong argument when checking requested software from user --- ISM/Software.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ISM/Software.cr b/ISM/Software.cr index 1504494..6e66c81 100644 --- a/ISM/Software.cr +++ b/ISM/Software.cr @@ -1484,7 +1484,7 @@ module ISM stripFileListNoChroot(fileList) end - if Ism.softwareIsRequestedSoftware(@information, requestedSoftwareFullVersionNames) && !Ism.softwareIsInstalled(@information) + if Ism.softwareIsRequestedSoftware(@information, Ism.requestedSoftwares.map { |entry| entry.fullVersionName}) && !Ism.softwareIsInstalled(@information) Ism.addSoftwareToFavouriteGroup(@information.fullVersionName) end