summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-06-21 22:03:57 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-06-21 22:03:57 +0200
commit37d12144c2debd27271378d2adc5c2b65a25e1f7 (patch)
treeb56d4e9957fef56bb74555b7d5e5121c5735f881
parentad7154b344c29e597f366e0d448cc3d1659861b4 (diff)
downloadnextcloud-server-37d12144c2debd27271378d2adc5c2b65a25e1f7.tar.gz
nextcloud-server-37d12144c2debd27271378d2adc5c2b65a25e1f7.zip
Fix URL delimiter.
-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 19330fa9be1..5a5632a1520 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,$l->t('Contact'));//$name,$text,$link,$type
}
}