diff options
author | Mario <mario@mariovavti.com> | 2022-06-01 07:00:21 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-06-01 07:00:21 +0000 |
commit | e63f0438415bb364f3085286ca2f199e83ab187b (patch) | |
tree | b107429276ebfc92dc9b4f78e302a4967e5bf0a6 /Zotlabs/Widget/Notes.php | |
parent | c5f33baf27d80e2a7ad7307eacd3137609eeb089 (diff) | |
parent | 33dd0c83e377b8adf00559337d13784ec136cecb (diff) | |
download | volse-hubzilla-7.4.tar.gz volse-hubzilla-7.4.tar.bz2 volse-hubzilla-7.4.zip |
Merge branch '7.4RC'7.4
Diffstat (limited to 'Zotlabs/Widget/Notes.php')
-rw-r--r-- | Zotlabs/Widget/Notes.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Notes.php b/Zotlabs/Widget/Notes.php index 2e8e04e93..c9d08c6b7 100644 --- a/Zotlabs/Widget/Notes.php +++ b/Zotlabs/Widget/Notes.php @@ -10,6 +10,7 @@ namespace Zotlabs\Widget; +use App; use Zotlabs\Lib\Apps; class Notes { @@ -18,6 +19,9 @@ class Notes { if(! local_channel()) return EMPTY_STR; + if(App::$profile_uid !== local_channel()) + return EMPTY_STR; + if(! Apps::system_app_installed(local_channel(), 'Notes')) return EMPTY_STR; |