mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-29 11:24:11 +01:00
fix typos
This commit is contained in:
parent
393c0cf534
commit
25d79d534c
@ -64,9 +64,9 @@ class LocalUsersAddressbookProvider implements \OCP\IAddressBook {
|
|||||||
if(count($ids) > 0) {
|
if(count($ids) > 0) {
|
||||||
$query = 'SELECT `' . $this->cardsTableName . '`.`addressbookid`, `' . $this->indexTableName . '`.`contactid`, `'
|
$query = 'SELECT `' . $this->cardsTableName . '`.`addressbookid`, `' . $this->indexTableName . '`.`contactid`, `'
|
||||||
. $this->indexTableName . '`.`name`, `' . $this->indexTableName . '`.`value` FROM `'
|
. $this->indexTableName . '`.`name`, `' . $this->indexTableName . '`.`value` FROM `'
|
||||||
. $this->indexTableName . '`,`' . $this->cardsTableNam . '` WHERE `'
|
. $this->indexTableName . '`,`' . $this->cardsTableName . '` WHERE `'
|
||||||
. $this->cardsTableNam . '`.`addressbookid` = \'' . \OCP\User::getUser() . '\' AND `'
|
. $this->cardsTableName . '`.`addressbookid` = \'' . \OCP\User::getUser() . '\' AND `'
|
||||||
. $this->indexTableName . '`.`contactid` = `' . $this->contactTableName . '`.`id` AND `'
|
. $this->indexTableName . '`.`contactid` = `' . $this->cardsTableName . '`.`id` AND `'
|
||||||
. $this->indexTableName . '`.`contactid` IN (' . join(',', array_fill(0, count($ids), '?')) . ')';
|
. $this->indexTableName . '`.`contactid` IN (' . join(',', array_fill(0, count($ids), '?')) . ')';
|
||||||
|
|
||||||
$stmt = \OCP\DB::prepare($query);
|
$stmt = \OCP\DB::prepare($query);
|
||||||
|
Loading…
Reference in New Issue
Block a user