Rename App->path to App->urlpath

This commit is contained in:
Hypolite Petovan 2018-06-25 20:39:56 -04:00
parent 5fdff3d813
commit e952d6677b
10 changed files with 12 additions and 12 deletions

View file

@ -1316,7 +1316,7 @@ class Contact extends BaseObject
if (($ret['network'] === NETWORK_DFRN) && !DBM::is_result($r)) {
if ($interactive) {
if (strlen($a->path)) {
if (strlen($a->urlpath)) {
$myaddr = bin2hex(System::baseUrl() . '/profile/' . $a->user['nickname']);
} else {
$myaddr = bin2hex($a->user['nickname'] . '@' . $a->get_hostname());