From 499c69f15e29fc0a38f80f002e97ef7da59d7119 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Sun, 7 Apr 2013 21:42:27 +0200 Subject: [PATCH] Contacts: Also return uri from db backend --- lib/backend/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/backend/database.php b/lib/backend/database.php index f2329c39..4d949cf3 100644 --- a/lib/backend/database.php +++ b/lib/backend/database.php @@ -98,7 +98,7 @@ class Database extends AbstractBackend { } // Hmm, not found. Lets query the db. try { - $query = 'SELECT `id`, `displayname`, `description`, `userid` AS `owner`, `ctag` AS `lastmodified` FROM `' + $query = 'SELECT `id`, `displayname`, `description`, `userid` AS `owner`, `ctag` AS `lastmodified`, `uri` FROM `' . $this->addressBooksTableName . '` WHERE `id` = ?'; if(!isset(self::$preparedQueries['getaddressbook'])) {