diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-01-12 20:44:38 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-01-13 00:19:07 +0100 |
commit | 6312c0df6949955d1cd59c3dd444268e0773293c (patch) | |
tree | 1f517db2c7b1c6588a44d13e78b2ff49b2886708 /index.php | |
parent | aeecb72e96e54439f98822467bb727366207039f (diff) | |
download | nextcloud-server-6312c0df6949955d1cd59c3dd444268e0773293c.tar.gz nextcloud-server-6312c0df6949955d1cd59c3dd444268e0773293c.zip |
Check style update
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php index 7c7400a0564..7b62f17e5bd 100644 --- a/index.php +++ b/index.php @@ -60,7 +60,7 @@ try { * not return a webpage, so we only print the error page when html is accepted, * otherwise we reply with a JSON array like the SecurityMiddleware would do. */ - if (stripos($request->getHeader('Accept'),'html') === false) { + if (stripos($request->getHeader('Accept'), 'html') === false) { http_response_code(401); header('Content-Type: application/json; charset=utf-8'); echo json_encode(['message' => $ex->getMessage()]); |