diff --git a/lib/AppInfo/Capabilities.php b/lib/AppInfo/Capabilities.php index 84f128000..c08327657 100644 --- a/lib/AppInfo/Capabilities.php +++ b/lib/AppInfo/Capabilities.php @@ -26,7 +26,7 @@ public function getCapabilities(): array { Application::APP_ID => [ 'api_version' => Application::$API_VERSIONS, 'version' => $this->appManager->getAppVersion(Application::APP_ID), - 'notes_path' => $this->userId !== null && $this->userId !== " " ? $this->noteUtil->getNotesFolderUserPath($this->userId) : null, + 'notes_path' => $this->userId !== null && $this->userId !== ' ' ? $this->noteUtil->getNotesFolderUserPath($this->userId) : null, ], ]; }