]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix URL delimiter.
authorThomas Tanghus <thomas@tanghus.net>
Thu, 21 Jun 2012 20:03:57 +0000 (22:03 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Thu, 21 Jun 2012 20:03:57 +0000 (22:03 +0200)
apps/contacts/lib/search.php

index 19330fa9be1168c33c0171b92c23fc411ecf7a6e..5a5632a1520ec9b071839837d3087e6aa978a209 100644 (file)
@@ -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
                                }
                        }