From 0475fc1fce4965e660332cd538a43c1c82b7df6c Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 25 Dec 2017 05:39:11 +0000 Subject: [PATCH] API: Better use "about" instead of "pdesc" --- include/api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/api.php b/include/api.php index 790c94c519..84ad2a94b4 100644 --- a/include/api.php +++ b/include/api.php @@ -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"]; }