diff --git a/service/src/main/php/src/tools/h5p/H5PFramework.php b/service/src/main/php/src/tools/h5p/H5PFramework.php index 294bb72..bbafb3c 100644 --- a/service/src/main/php/src/tools/h5p/H5PFramework.php +++ b/service/src/main/php/src/tools/h5p/H5PFramework.php @@ -340,7 +340,7 @@ public function isPatchedLibrary($library) WHERE name = ' . $db->quote($library['machineName']) . ' AND major_version = ' . (int)$library['majorVersion'] . ' AND minor_version = ' . (int)$library['minorVersion'] . ' - AND patch_version = ' . (int)$library['patchVersion']; + AND patch_version >= ' . (int)$library['patchVersion']; $statement = $db->query($query); return $statement->fetch() === false; diff --git a/service/src/main/php/src/tools/onlyoffice/storage/templates/init.docx b/service/src/main/php/src/tools/onlyoffice/storage/templates/init.docx old mode 100755 new mode 100644 index 91bfcd9..143df9c Binary files a/service/src/main/php/src/tools/onlyoffice/storage/templates/init.docx and b/service/src/main/php/src/tools/onlyoffice/storage/templates/init.docx differ