Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ONLYOFFICE/onlyoffice-nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'controller/settingscontroller.php')
-rw-r--r--controller/settingscontroller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/settingscontroller.php b/controller/settingscontroller.php
index 4320d4c..86f34f1 100644
--- a/controller/settingscontroller.php
+++ b/controller/settingscontroller.php
@@ -240,7 +240,7 @@ class SettingsController extends Controller {
}
$version = floatval($commandResponse->version);
- if ($version < 4.2) {
+ if ($version > 0.0 && $version < 4.2) {
throw new \Exception($this->trans->t("Not supported version"));
}