diff --git a/src/Model/Profile.php b/src/Model/Profile.php index f328453e9..3e35d60c2 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -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;