From 12046abee08801ba7d29813a3637be0abf2b2e0d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 23 Oct 2024 15:37:34 +0200 Subject: [minilinux] Fix copy & paste error --- modules-available/minilinux/page.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules-available/minilinux/page.inc.php b/modules-available/minilinux/page.inc.php index 9b9cf74a..161374a4 100644 --- a/modules-available/minilinux/page.inc.php +++ b/modules-available/minilinux/page.inc.php @@ -223,7 +223,7 @@ class Page_MiniLinux extends Page $calced = hash_file($algo, $path); if ($calced === false) continue; // Algo not supported? - if ($calced !== $file['md5']) + if ($calced !== $file[$algo]) return self::FILE_CHECKSUM_BAD; } } -- cgit v1.2.3-55-g7522