diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-01-25 22:20:10 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-01-25 22:20:10 +0100 |
commit | 7800a9bc24d50d3eed40f8b1d40236a262b4f8ef (patch) | |
tree | 8d439d4743df537769ea2bfd97ffa42a9041ceec /apps/dav/lib/CalDAV/CalDavBackend.php | |
parent | b9bbb894f8b01e000bb5e3a8a82db7bebad3ea00 (diff) | |
download | nextcloud-server-7800a9bc24d50d3eed40f8b1d40236a262b4f8ef.tar.gz nextcloud-server-7800a9bc24d50d3eed40f8b1d40236a262b4f8ef.zip |
Fix array method usages with a proper call
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/dav/lib/CalDAV/CalDavBackend.php')
-rw-r--r-- | apps/dav/lib/CalDAV/CalDavBackend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php index 169bf6ff6a5..a936cb6aeba 100644 --- a/apps/dav/lib/CalDAV/CalDavBackend.php +++ b/apps/dav/lib/CalDAV/CalDavBackend.php @@ -2261,7 +2261,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription $query->execute(); } - if (in_array($property->name, array_keys(self::$indexParameters))) { + if (array_key_exists($property->name, self::$indexParameters)) { $parameters = $property->parameters(); $indexedParametersForProperty = self::$indexParameters[$property->name]; |