mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:10:11 +00:00
Use rawContent for Special Options to avoid a protected options() method
This commit is contained in:
parent
35a2fd45af
commit
6dbbd08179
4 changed files with 3 additions and 23 deletions
|
@ -262,7 +262,7 @@ class Router
|
|||
|
||||
$this->parameters = [];
|
||||
|
||||
// Check if the HTTP method ist OPTIONS and return the special Options Module with the possible HTTP methods
|
||||
// Check if the HTTP method is OPTIONS and return the special Options Module with the possible HTTP methods
|
||||
if ($this->args->getMethod() === static::OPTIONS) {
|
||||
$routeOptions = $dispatcher->getOptions($cmd);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue