From 5e6de8578ee4b5b6c42a417baddd9f752fd55f55 Mon Sep 17 00:00:00 2001 From: "FreeToBe.Social Developer" Date: Sat, 6 Jul 2019 15:27:22 +0000 Subject: [PATCH] Fix widget to use new Libprofile --- Zotlabs/Widget/Shortprofile.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Zotlabs/Widget/Shortprofile.php b/Zotlabs/Widget/Shortprofile.php index 9c2a46e75..c2c97beb8 100644 --- a/Zotlabs/Widget/Shortprofile.php +++ b/Zotlabs/Widget/Shortprofile.php @@ -2,6 +2,8 @@ namespace Zotlabs\Widget; +use Zotlabs\Lib\Libprofile; + class Shortprofile { function widget($arr) { @@ -11,7 +13,7 @@ class Shortprofile { $block = observer_prohibited(); - return profile_sidebar(\App::$profile, $block, true, true); + return Libprofile::widget(\App::$profile, $block, true, true); } }