diff options
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Widget/Channel_activities.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Channel_activities.php b/Zotlabs/Widget/Channel_activities.php index a95a3f083..d12d80a8c 100644 --- a/Zotlabs/Widget/Channel_activities.php +++ b/Zotlabs/Widget/Channel_activities.php @@ -8,6 +8,7 @@ namespace Zotlabs\Widget; use App; +use Zotlabs\Lib\Apps; class Channel_activities { @@ -134,6 +135,10 @@ class Channel_activities { private static function get_webpages_activity() { + if(!Apps::system_app_installed(self::$uid, 'Webpages')) { + return; + } + $r = q("SELECT * FROM iconfig LEFT JOIN item ON iconfig.iid = item.id WHERE item.uid = %d AND iconfig.cat = 'system' AND iconfig.k = 'WEBPAGE' AND item_type = %d ORDER BY item.edited DESC LIMIT %d", |