From 9fb7cd881faf2e55241944178b353c7220a98a9b Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Thu, 15 Dec 2022 14:06:25 +0100 Subject: [PATCH] Resolve #778 --- snappymail/v/0.0.0/app/libraries/snappymail/repository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappymail/v/0.0.0/app/libraries/snappymail/repository.php b/snappymail/v/0.0.0/app/libraries/snappymail/repository.php index 25a0466e2..3be941b7f 100644 --- a/snappymail/v/0.0.0/app/libraries/snappymail/repository.php +++ b/snappymail/v/0.0.0/app/libraries/snappymail/repository.php @@ -120,7 +120,7 @@ abstract class Repository // is this entry newer then an already defined one && (empty($aResult[$oItem->id]) || \version_compare($aResult[$oItem->id]['version'], $oItem->version, '<')) // does this entry require same or older app version - && ($isDev || empty($oItem->required) || \version_compare(APP_VERSION, $oItem->required, '<=')) + && ($isDev || empty($oItem->required) || \version_compare(APP_VERSION, $oItem->required, '>=')) // is this entry not deprecated for current app version? && ($isDev || empty($oItem->deprecated) || \version_compare(APP_VERSION, $oItem->deprecated, '<')) ) {