]> git.mxchange.org Git - friendica.git/blobdiff - mod/videos.php
Merge pull request #7988 from friendica/MrPetovan-notice
[friendica.git] / mod / videos.php
index 48027a603e9450711b8b89d1dea4303740c1f58c..4174c7f48a2fed181d9fac8ed88560f4a319ca0f 100644 (file)
@@ -51,9 +51,9 @@ function videos_init(App $a)
                $vcard_widget = Renderer::replaceMacros($tpl, [
                        '$name' => $profile['name'],
                        '$photo' => $profile['photo'],
-                       '$addr' => defaults($profile, 'addr', ''),
+                       '$addr' => $profile['addr'] ?? '',
                        '$account_type' => $account_type,
-                       '$pdesc' => defaults($profile, 'pdesc', ''),
+                       '$pdesc' => $profile['pdesc'] ?? '',
                ]);
 
                // If not there, create 'aside' empty