Typecast parameter of getAddressBookById

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
pull/22041/head
Georg Ehrke 5 years ago
parent 67f1ef4658
commit e6433eeb02
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
  1. 2
      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));

Loading…
Cancel
Save