issue with cyrillic nickname case conversion

This commit is contained in:
friendica 2012-06-26 23:38:34 -07:00
parent ae70cbe9c7
commit 448a8c4fd3
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -316,7 +316,7 @@ function fb_get_friends_sync_parsecontact($uid, $contact) {
dbesc($contact->id),
dbesc('facebook ' . $contact->id),
dbesc($contact->name),
dbesc(($contact->nickname) ? $contact->nickname : strtolower($contact->first_name)),
dbesc(($contact->nickname) ? $contact->nickname : mb_convert_case($contact->first_name, MB_CASE_LOWER, "UTF-8"),
dbesc('https://graph.facebook.com/' . $contact->id . '/picture'),
dbesc(NETWORK_FACEBOOK),
intval(CONTACT_IS_FRIEND),