mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Update addressbookprovider.php
This commit is contained in:
parent
7dbd285621
commit
e7025a15ad
@ -115,10 +115,12 @@ class AddressbookProvider implements \OCP\IAddressBook {
|
||||
INNER JOIN `$addrTable`
|
||||
ON `$addrTable`.id = `$contTable`.addressbookid
|
||||
WHERE
|
||||
(
|
||||
(`$contTable`.addressbookid = ?) AND
|
||||
(
|
||||
SQL;
|
||||
|
||||
$params = array();
|
||||
$params[] = $this->addressBook->getMetaData()['id'];
|
||||
foreach ($searchProperties as $property) {
|
||||
$params[] = $property;
|
||||
$params[] = '%' . $pattern . '%';
|
||||
|
Loading…
x
Reference in New Issue
Block a user