aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Notes.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Widget/Notes.php')
-rw-r--r--Zotlabs/Widget/Notes.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Notes.php b/Zotlabs/Widget/Notes.php
index b2c8eda86..05c1a0292 100644
--- a/Zotlabs/Widget/Notes.php
+++ b/Zotlabs/Widget/Notes.php
@@ -10,6 +10,9 @@ class Notes {
if(! local_channel())
return EMPTY_STR;
+ if(! Apps::system_app_installed(local_channel(), 'Notes'))
+ return EMPTY_STR;
+
$text = get_pconfig(local_channel(),'notes','text');
$tpl = get_markup_template('notes.tpl');