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'])) {