diff --git a/lib/private/AppFramework/Http/Request.php b/lib/private/AppFramework/Http/Request.php index 7273dc568d6a2..1aeb47893690a 100644 --- a/lib/private/AppFramework/Http/Request.php +++ b/lib/private/AppFramework/Http/Request.php @@ -421,7 +421,7 @@ protected function getContent() { ) { if ($this->content === false) { throw new \LogicException( - '"put" can only be accessed once if not ' + '"' . strtolower($this->method) . '" can only be accessed once if not ' . 'application/x-www-form-urlencoded or application/json.' ); }