aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CardDAV/CardDavBackend.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2020-08-19 15:30:13 +0200
committerGeorg Ehrke <developer@georgehrke.com>2020-08-19 15:30:13 +0200
commite6433eeb0248554399bf1b0915324b5e24376cf0 (patch)
treea7ff684a97ae1f17e34c3104cef75088d5f9ba53 /apps/dav/lib/CardDAV/CardDavBackend.php
parent67f1ef46583e5135cfb6d0e5cbfbe441be0803a6 (diff)
downloadnextcloud-server-e6433eeb0248554399bf1b0915324b5e24376cf0.tar.gz
nextcloud-server-e6433eeb0248554399bf1b0915324b5e24376cf0.zip
Typecast parameter of getAddressBookById
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/CardDAV/CardDavBackend.php')
-rw-r--r--apps/dav/lib/CardDAV/CardDavBackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/CardDavBackend.php b/apps/dav/lib/CardDAV/CardDavBackend.php
index f20b197b9ef..5c390aa20f1 100644
--- a/apps/dav/lib/CardDAV/CardDavBackend.php
+++ b/apps/dav/lib/CardDAV/CardDavBackend.php
@@ -402,7 +402,7 @@ class CardDavBackend implements BackendInterface, SyncSupport {
$this->addChange($addressBookId, "", 2);
- $addressBookRow = $this->getAddressBookById($addressBookId);
+ $addressBookRow = $this->getAddressBookById((int)$addressBookId);
$shares = $this->getShares($addressBookId);
$this->dispatcher->dispatchTyped(new AddressBookUpdatedEvent((int)$addressBookId, $addressBookRow, $shares, $mutations));