From 62553138f35e01a0e024d5154fc02be25c09f4d1 Mon Sep 17 00:00:00 2001 From: ryuring Date: Fri, 20 Sep 2024 15:52:44 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A2=E3=83=83=E3=83=97=E3=83=87=E3=83=BC?= =?UTF-8?q?=E3=83=88=E5=8F=AF=E8=83=BD=E3=81=AA=E3=83=90=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=83=A7=E3=83=B3=E3=81=AE=E6=95=B0=E9=87=8F=E3=82=AB=E3=82=A6?= =?UTF-8?q?=E3=83=B3=E3=83=88=E3=81=8C=E9=96=93=E9=81=95=E3=81=A3=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=9F=E3=81=9F=E3=82=81=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/baser-core/src/Service/PluginsService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/baser-core/src/Service/PluginsService.php b/plugins/baser-core/src/Service/PluginsService.php index 9f0c81e7a7..7879730db1 100644 --- a/plugins/baser-core/src/Service/PluginsService.php +++ b/plugins/baser-core/src/Service/PluginsService.php @@ -774,13 +774,13 @@ public function getAvailableCoreVersionInfo() if (!preg_match('/^' . preg_quote($major) . '/', $version)) continue; $currentVerPoint = BcUtil::verpoint($currentVersion); - $latestVerPoint = BcUtil::verpoint($latest); + $updateVerPoint = BcUtil::verpoint($version); // 現在のパッケージが開発版の場合は無視 if ($currentVerPoint === false) break; // アップデートバージョンが開発版の場合は無視 - if ($latestVerPoint === false) continue; + if ($updateVerPoint === false) continue; // アップデートバージョンが現在のパッケージのバージョンより小さい場合は無視 - if ($currentVerPoint > $latestVerPoint) break; + if ($currentVerPoint > $updateVerPoint) break; if ($currentVersion === $version) break; $versions[] = $version;