diff options
Diffstat (limited to 'lib/documentservice.php')
-rw-r--r-- | lib/documentservice.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/documentservice.php b/lib/documentservice.php index 5069506..c37522f 100644 --- a/lib/documentservice.php +++ b/lib/documentservice.php @@ -414,6 +414,10 @@ class DocumentService { } $version = $commandResponse->version; + $versionF = floatval($version); + if ($versionF > 0.0 && $versionF <= 6.0) { + throw new \Exception($this->trans->t("Not supported version")); + } } catch (\Exception $e) { $logger->logException($e, ["message" => "CommandRequest on check error", "app" => self::$appName]); |