forked from friendica/friendica-addons
issue with cyrillic nickname case conversion
This commit is contained in:
parent
ae70cbe9c7
commit
448a8c4fd3
BIN
facebook.tgz
BIN
facebook.tgz
Binary file not shown.
|
@ -316,7 +316,7 @@ function fb_get_friends_sync_parsecontact($uid, $contact) {
|
||||||
dbesc($contact->id),
|
dbesc($contact->id),
|
||||||
dbesc('facebook ' . $contact->id),
|
dbesc('facebook ' . $contact->id),
|
||||||
dbesc($contact->name),
|
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('https://graph.facebook.com/' . $contact->id . '/picture'),
|
||||||
dbesc(NETWORK_FACEBOOK),
|
dbesc(NETWORK_FACEBOOK),
|
||||||
intval(CONTACT_IS_FRIEND),
|
intval(CONTACT_IS_FRIEND),
|
||||||
|
|
Loading…
Reference in a new issue