summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/functions.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php
index 2a239d303..8c8cf9013 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2845,8 +2845,7 @@
if ($version_data) {
$version_data = json_decode($version_data, true);
if ($version_data && $version_data['version']) {
-
- if (version_compare(VERSION, $version_data['version']) == -1) {
+ if (version_compare(VERSION_STATIC, $version_data['version']) == -1) {
return $version_data;
}
}