summaryrefslogtreecommitdiffstats
path: root/apps/contacts/lib/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/lib/search.php')
-rw-r--r--apps/contacts/lib/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/lib/search.php b/apps/contacts/lib/search.php
index 53aa2b48496..c86bc12c5b6 100644
--- a/apps/contacts/lib/search.php
+++ b/apps/contacts/lib/search.php
@@ -11,7 +11,7 @@ class OC_Search_Provider_Contacts extends OC_Search_Provider{
$vcards = OC_Contacts_VCard::all($addressbook['id']);
foreach($vcards as $vcard){
if(substr_count(strtolower($vcard['fullname']), strtolower($query)) > 0) {
- $link = OCP\Util::linkTo('contacts', 'index.php').'&id='.urlencode($vcard['id']);
+ $link = OCP\Util::linkTo('contacts', 'index.php').'?id='.urlencode($vcard['id']);
$results[]=new OC_Search_Result($vcard['fullname'], '', $link, (string)$l->t('Contact'));//$name,$text,$link,$type
}
}