summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-01-26 09:53:13 +0100
committerGitHub <noreply@github.com>2018-01-26 09:53:13 +0100
commitec1d94c62901332b7915fce2aa22a0ee4f843830 (patch)
treeeabb2480d9a76d38fe5639f054bbfb2c69761494 /apps/dav
parent5a7a5e5352d4ce0d1924a0f90b52022a71f6b3ae (diff)
parent7800a9bc24d50d3eed40f8b1d40236a262b4f8ef (diff)
downloadnextcloud-server-ec1d94c62901332b7915fce2aa22a0ee4f843830.tar.gz
nextcloud-server-ec1d94c62901332b7915fce2aa22a0ee4f843830.zip
Merge pull request #8052 from nextcloud/fix-array-methods
Fix array method usages with a proper call
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/CalDAV/CalDavBackend.php2
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];