Use profile.about instead of profile.pdesc for profile description

This commit is contained in:
Hypolite Petovan 2020-02-09 02:36:19 -05:00
commit a42104ce43
26 changed files with 45 additions and 45 deletions

View file

@ -59,9 +59,9 @@ function cal_init(App $a)
$vcard_widget = Renderer::replaceMacros($tpl, [
'$name' => $profile['name'],
'$photo' => $profile['photo'],
'$addr' => (($profile['addr'] != "") ? $profile['addr'] : ""),
'$addr' => $profile['addr'] ?: '',
'$account_type' => $account_type,
'$pdesc' => (($profile['pdesc'] != "") ? $profile['pdesc'] : ""),
'$about' => $profile['about'] ?: '',
]);
$cal_widget = Widget\CalendarExport::getHTML();