From 13c60c8cfc00f400be7edbf2da7aa65fee1b6886 Mon Sep 17 00:00:00 2001 From: Dennis Reilard Date: Tue, 4 Jun 2024 07:44:09 +0200 Subject: [PATCH] =?UTF-8?q?ilchCore=20=C3=BCberpr=C3=BCfung=20bei=20Update?= =?UTF-8?q?server?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/modules/admin/views/admin/layouts/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/modules/admin/views/admin/layouts/index.php b/application/modules/admin/views/admin/layouts/index.php index cc7671cd1..fc83e1d89 100644 --- a/application/modules/admin/views/admin/layouts/index.php +++ b/application/modules/admin/views/admin/layouts/index.php @@ -61,6 +61,9 @@ foreach ($layoutsOnUpdateServer as $layoutOnUpdateServer) { if ($layoutOnUpdateServer->key == $layout->getKey()) { $layoutOnUpdateServerFound = $layoutOnUpdateServer; + + $ilchCoreTooOld = version_compare($coreVersion, $layoutOnUpdateServer->ilchCore, '<'); + $layoutTooOld = version_compare('2.2.0', $layoutOnUpdateServer->ilchCore, '>'); break; } }