diff --git a/widgets/widget_friendheader.php b/widgets/widget_friendheader.php
index df03419f..7df1ff7c 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 36212713..f661a4f0 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;
}