diff options
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r-- | include/contact_widgets.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 1230e2b24..13c7c52c8 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -104,8 +104,11 @@ function fileas_widget($baseurl,$selected = '') { } function categories_widget($baseurl,$selected = '') { - $a = get_app(); + if(! featured_enabled($a->profile['profile_uid'],'categories')) + return ''; + + $a = get_app(); $terms = array(); $r = q("select distinct(term) from term where uid = %d and type = %d order by term asc", |