diff options
author | Simon Rettberg | 2024-10-23 15:37:34 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-10-23 15:37:34 +0200 |
commit | 12046abee08801ba7d29813a3637be0abf2b2e0d (patch) | |
tree | eb91049eb2913a2cdae1ac480ef6925650b5127f /modules-available/minilinux | |
parent | [minilinux] Cleanup/Modernize (diff) | |
download | slx-admin-12046abee08801ba7d29813a3637be0abf2b2e0d.tar.gz slx-admin-12046abee08801ba7d29813a3637be0abf2b2e0d.tar.xz slx-admin-12046abee08801ba7d29813a3637be0abf2b2e0d.zip |
[minilinux] Fix copy & paste error
Diffstat (limited to 'modules-available/minilinux')
-rw-r--r-- | modules-available/minilinux/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |