diff options
author | Mario <mario@mariovavti.com> | 2022-01-21 07:28:24 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-21 07:28:24 +0000 |
commit | 755d0f54f7ddfc2a932e17c425c7a1aacb8d7efb (patch) | |
tree | db1616efe407092127a273de1889bc1cd852132f /Zotlabs/Widget/Profile.php | |
parent | a40babbf0d09e0131a00a1e88d359caebb997a65 (diff) | |
parent | f62d66ff25ffac7dbfdc663d2a64c5b415b6e294 (diff) | |
download | volse-hubzilla-755d0f54f7ddfc2a932e17c425c7a1aacb8d7efb.tar.gz volse-hubzilla-755d0f54f7ddfc2a932e17c425c7a1aacb8d7efb.tar.bz2 volse-hubzilla-755d0f54f7ddfc2a932e17c425c7a1aacb8d7efb.zip |
Merge branch '7.0RC'
Diffstat (limited to 'Zotlabs/Widget/Profile.php')
-rw-r--r-- | Zotlabs/Widget/Profile.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Zotlabs/Widget/Profile.php b/Zotlabs/Widget/Profile.php index 8bd624c0f..0e5444a56 100644 --- a/Zotlabs/Widget/Profile.php +++ b/Zotlabs/Widget/Profile.php @@ -2,12 +2,16 @@ namespace Zotlabs\Widget; +use App; class Profile { - function widget($args) { + if(!App::$profile['profile_uid']) { + return; + } + $block = observer_prohibited(); - return profile_sidebar(\App::$profile, $block, true, false); - } + return profile_sidebar(App::$profile, $block, true, false); + } } |