mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
Fix PHP 5.3 compatibility
This commit is contained in:
parent
94900c3959
commit
2a3b44e8da
@ -120,7 +120,8 @@ class AddressbookProvider implements \OCP\IAddressBook {
|
||||
SQL;
|
||||
|
||||
$params = array();
|
||||
$params[] = $this->addressBook->getMetaData()['id'];
|
||||
$meta = $this->addressBook->getMetaData();
|
||||
$params[] = $meta['id'];
|
||||
foreach ($searchProperties as $property) {
|
||||
$params[] = $property;
|
||||
$params[] = '%' . $pattern . '%';
|
||||
|
Loading…
Reference in New Issue
Block a user