From f0c09b374c6577f8c3785b2dfe6c3cbba2bf2041 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 4 May 2022 18:46:45 +0000 Subject: move cards to addon --- Zotlabs/Widget/Tasklist.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Zotlabs/Widget/Tasklist.php') diff --git a/Zotlabs/Widget/Tasklist.php b/Zotlabs/Widget/Tasklist.php index 5ecfd5a27..96b70af15 100644 --- a/Zotlabs/Widget/Tasklist.php +++ b/Zotlabs/Widget/Tasklist.php @@ -7,12 +7,17 @@ namespace Zotlabs\Widget; +use App; + class Tasklist { function widget($arr) { - if (! local_channel()) - return; + if(! local_channel()) + return EMPTY_STR; + + if(App::$profile_uid !== local_channel()) + return EMPTY_STR; $o .= ''; $o .= '