From 3265afad3c583e34e670626e72e2d9f7751c2275 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Sun, 9 May 2021 13:52:12 -0400 Subject: [PATCH] fix comparison --- install/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/index.php b/install/index.php index 5ed5587e21..a56b5289c6 100644 --- a/install/index.php +++ b/install/index.php @@ -1070,7 +1070,7 @@ class InstallRequirements { } else { $versionDetails = mysqli_query($this->conn, 'SELECT version() as version')->fetch_assoc(); - if (version_compare($versionDetails['version'], $min) == -1) { + if (version_compare($versionDetails['version'], $version) == -1) { $testDetails[2] .= "{$majorHas}.{$minorHas}."; $this->error($testDetails); } -- 2.25.1