mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:25:57 +00:00
check_for_update: compare against VERSION_STATIC
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user