aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Hcard.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-18 16:41:43 -0700
committerMario Vavti <mario@mariovavti.com>2017-03-29 13:56:31 +0200
commitd5525a38f185e37fe0101bc7ef6e67abf59f98f8 (patch)
tree9742988595a30be5d45dbb82ee7285a429f03929 /Zotlabs/Module/Hcard.php
parente9a5af6109a4a83a644432a2f39b47eb96303f4f (diff)
downloadvolse-hubzilla-d5525a38f185e37fe0101bc7ef6e67abf59f98f8.tar.gz
volse-hubzilla-d5525a38f185e37fe0101bc7ef6e67abf59f98f8.tar.bz2
volse-hubzilla-d5525a38f185e37fe0101bc7ef6e67abf59f98f8.zip
various input filter fixes
Diffstat (limited to 'Zotlabs/Module/Hcard.php')
-rw-r--r--Zotlabs/Module/Hcard.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/Zotlabs/Module/Hcard.php b/Zotlabs/Module/Hcard.php
index ec9181f6a..13097939e 100644
--- a/Zotlabs/Module/Hcard.php
+++ b/Zotlabs/Module/Hcard.php
@@ -59,12 +59,10 @@ class Hcard extends \Zotlabs\Web\Controller {
}
- function get() {
-
- require_once('include/widgets.php');
- return widget_profile(array());
-
-
+ function get() {
+
+ $x = new \Zotlabs\Widget\Profile();
+ return $x->widget(array());
}