aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-06-22 01:43:59 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-06-22 14:27:46 +0200
commit07124ee38dfa1b9c51d9efbddd2680497ec633f9 (patch)
treec5c4b17560c7b7e688461c62541da7b15a82286e /apps
parente1fa9c282bd268efdcb09a63fcfbd0a68ee11a7a (diff)
downloadnextcloud-server-07124ee38dfa1b9c51d9efbddd2680497ec633f9.tar.gz
nextcloud-server-07124ee38dfa1b9c51d9efbddd2680497ec633f9.zip
Cast translation to string.
Diffstat (limited to 'apps')
-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 5a5632a1520..5d9ca97e761 100644
--- a/apps/contacts/lib/search.php
+++ b/apps/contacts/lib/search.php
@@ -12,7 +12,7 @@ class OC_Search_Provider_Contacts extends OC_Search_Provider{
foreach($vcards as $vcard){
if(substr_count(strtolower($vcard['fullname']), strtolower($query)) > 0){
$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
+ $results[]=new OC_Search_Result($vcard['fullname'],'', $link,(string)$l->t('Contact'));//$name,$text,$link,$type
}
}
}