]> git.mxchange.org Git - friendica.git/commitdiff
API: Better use "about" instead of "pdesc"
authorMichael <heluecht@pirati.ca>
Mon, 25 Dec 2017 05:39:11 +0000 (05:39 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 25 Dec 2017 05:39:11 +0000 (05:39 +0000)
include/api.php

index 790c94c519bf2eddc1c4c68eac110d0cdd4e6140..84ad2a94b4d51a1fbf92bd5c35f5ade241c9cef5 100644 (file)
@@ -743,8 +743,8 @@ function api_get_user(App $a, $contact_id = null)
 
        $pcontact_id  = Contact::getIdForURL($uinfo[0]['url'], 0, true);
 
-       if (!empty($profile[0]['pdesc'])) {
-               $description = $profile[0]['pdesc'];
+       if (!empty($profile[0]['about'])) {
+               $description = $profile[0]['about'];
        } else {
                $description = $uinfo[0]["about"];
        }