]> git.mxchange.org Git - friendica.git/commitdiff
Better english
authorMichael <heluecht@pirati.ca>
Thu, 21 Dec 2017 04:53:57 +0000 (04:53 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 21 Dec 2017 04:53:57 +0000 (04:53 +0000)
include/identity.php
src/Protocol/Diaspora.php

index eebb8fe51af68b2c0749f8f42e0ae74c6406aa88..8f515580f475cba0cb28651a24a71b6ccb41447d 100644 (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(
index 09899ffa6caa297aedce9788508befed94408105..a0d99959bb46ebd88fee456828f471ad926c7458 100644 (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';