1
0
Fork 0

API: Better use "about" instead of "pdesc"

This commit is contained in:
Michael 2017-12-25 05:39:11 +00:00
parent ba4329da61
commit 0475fc1fce

View 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"];
}