mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
fix typo
This commit is contained in:
parent
8335281787
commit
0b46feb706
@ -1075,7 +1075,7 @@ class CalDAV extends HTTP_WebDAV_Server
|
||||
}
|
||||
// make sure the client is not just a CalDAV client wrongly sending a Content-Type or Accept header for JSON
|
||||
if (in_array($_SERVER['REQUEST_METHOD'], ['REPORT', 'PROPFIND', 'PROPPATCH']) || // no REST, but CalDAV methods
|
||||
isset($_SERVER['HTTP_CONTENT_TYPE']) && pref_match('#(application|text)/xml#', $_SERVER['HTTP_CONTENT_TYPE']))
|
||||
isset($_SERVER['HTTP_CONTENT_TYPE']) && preg_match('#(application|text)/xml#', $_SERVER['HTTP_CONTENT_TYPE']))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user