diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-06-22 01:43:59 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-06-22 14:27:46 +0200 |
commit | 07124ee38dfa1b9c51d9efbddd2680497ec633f9 (patch) | |
tree | c5c4b17560c7b7e688461c62541da7b15a82286e /apps | |
parent | e1fa9c282bd268efdcb09a63fcfbd0a68ee11a7a (diff) | |
download | nextcloud-server-07124ee38dfa1b9c51d9efbddd2680497ec633f9.tar.gz nextcloud-server-07124ee38dfa1b9c51d9efbddd2680497ec633f9.zip |
Cast translation to string.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/contacts/lib/search.php | 2 |
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 } } } |