1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-11-29 11:24:11 +01:00

fix typos

This commit is contained in:
LEDfan 2014-04-06 09:50:02 +02:00
parent 393c0cf534
commit 25d79d534c

View File

@ -64,9 +64,9 @@ class LocalUsersAddressbookProvider implements \OCP\IAddressBook {
if(count($ids) > 0) {
$query = 'SELECT `' . $this->cardsTableName . '`.`addressbookid`, `' . $this->indexTableName . '`.`contactid`, `'
. $this->indexTableName . '`.`name`, `' . $this->indexTableName . '`.`value` FROM `'
. $this->indexTableName . '`,`' . $this->cardsTableNam . '` WHERE `'
. $this->cardsTableNam . '`.`addressbookid` = \'' . \OCP\User::getUser() . '\' AND `'
. $this->indexTableName . '`.`contactid` = `' . $this->contactTableName . '`.`id` AND `'
. $this->indexTableName . '`,`' . $this->cardsTableName . '` WHERE `'
. $this->cardsTableName . '`.`addressbookid` = \'' . \OCP\User::getUser() . '\' AND `'
. $this->indexTableName . '`.`contactid` = `' . $this->cardsTableName . '`.`id` AND `'
. $this->indexTableName . '`.`contactid` IN (' . join(',', array_fill(0, count($ids), '?')) . ')';
$stmt = \OCP\DB::prepare($query);