Better english

This commit is contained in:
Michael 2017-12-21 04:53:57 +00:00
parent 008c97c570
commit 8c2d455b98
2 changed files with 6 additions and 6 deletions

View File

@ -375,9 +375,9 @@ function profile_sidebar($profile, $block = 0)
$location = $pdesc = $gender = $marital = $homepage = $about = false;
}
$splitted_name = Diaspora::splitName($profile['name']);
$firstname = $splitted_name['first'];
$lastname = $splitted_name['last'];
$split_name = Diaspora::splitName($profile['name']);
$firstname = $split_name['first'];
$lastname = $split_name['last'];
if ($profile['guid'] != "") {
$diaspora = array(

View File

@ -4044,9 +4044,9 @@ class Diaspora
$profile = $r[0];
$handle = $profile["addr"];
$splitted_name = self::splitName($profile['name']);
$first = $splitted_name['first'];
$last = $splitted_name['last'];
$split_name = self::splitName($profile['name']);
$first = $split_name['first'];
$last = $split_name['last'];
$large = System::baseUrl().'/photo/custom/300/'.$profile['uid'].'.jpg';
$medium = System::baseUrl().'/photo/custom/100/'.$profile['uid'].'.jpg';