kopia lustrzana https://github.com/friendica/friendica
Fix undefined variables in profile/vcard.tpl
rodzic
2c6bf754d5
commit
abc0616d33
|
@ -412,7 +412,12 @@ class Profile
|
|||
}
|
||||
}
|
||||
|
||||
$p = [];
|
||||
// Expected profile/vcard.tpl profile.* template variables
|
||||
$p = [
|
||||
'address' => null,
|
||||
'edit' => null,
|
||||
'upubkey' => null,
|
||||
];
|
||||
foreach ($profile as $k => $v) {
|
||||
$k = str_replace('-', '_', $k);
|
||||
$p[$k] = $v;
|
||||
|
|
Ładowanie…
Reference in New Issue