From 95dbfdfe9ae87a1b3721b419d295e4347b0a1d1f Mon Sep 17 00:00:00 2001 From: Timz99 Date: Tue, 27 Mar 2018 23:35:44 +0200 Subject: [PATCH] Fixed upgrade check --- src/psm/Util/Install/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/psm/Util/Install/Installer.php b/src/psm/Util/Install/Installer.php index 66c649fe..c38827f0 100644 --- a/src/psm/Util/Install/Installer.php +++ b/src/psm/Util/Install/Installer.php @@ -78,7 +78,7 @@ class Installer { // different DB version, check if the version requires any changes // @todo this is currently a manual check for each version, similar to upgrade().. not a clean way - if(version_compare($version_db, '3.2.0', '<')) { + if(version_compare($version_db, PSM_VERSION, '<')) { return true; } else { // change database version to current version so this check won't be required next time