summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules-available/minilinux/page.inc.php2
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;
}
}