diff --git a/widgets/widget_friendheader.php b/widgets/widget_friendheader.php
index df03419f4..7df1ff7c2 100644
--- a/widgets/widget_friendheader.php
+++ b/widgets/widget_friendheader.php
@@ -1,5 +1,6 @@
";
- $o .= _abs_url(contact_block());
+ $o .= _abs_url(HTML::contactBlock());
$o .= "profile['nickname']."' target=new>". L10n::t('Get added to this list!') ."";
return $o;
diff --git a/widgets/widget_friends.php b/widgets/widget_friends.php
index 36212713d..f661a4f05 100644
--- a/widgets/widget_friends.php
+++ b/widgets/widget_friends.php
@@ -1,5 +1,6 @@
";
- $o .= _abs_url(contact_block());
+ $o .= _abs_url(HTML::contactBlock());
$o .= "profile['nickname']."'>". L10n::t('Connect on Friendica!') ."";
return $o;
}