diff options
Diffstat (limited to 'apps/files_versions/lib/Sabre/Plugin.php')
-rw-r--r-- | apps/files_versions/lib/Sabre/Plugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/Sabre/Plugin.php b/apps/files_versions/lib/Sabre/Plugin.php index 8095198a51d..5a127b4251d 100644 --- a/apps/files_versions/lib/Sabre/Plugin.php +++ b/apps/files_versions/lib/Sabre/Plugin.php @@ -53,7 +53,7 @@ class Plugin extends ServerPlugin { public function afterGet(RequestInterface $request, ResponseInterface $response) { $path = $request->getPath(); - if (strpos($path, 'versions') !== 0) { + if (!str_starts_with($path, 'versions')) { return; } |