aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_widgets.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-27 22:30:06 -0700
committerfriendica <info@friendica.com>2013-08-27 22:30:06 -0700
commite8cd3b70407b4c33d82d21cc3a470b2a58852e4f (patch)
tree5ce81f1f38aa2a6d7d2ddf69e6a8cef68e0b7728 /include/contact_widgets.php
parente8a0005d29244e4897ca7806f24424a8f63d1dd8 (diff)
downloadvolse-hubzilla-e8cd3b70407b4c33d82d21cc3a470b2a58852e4f.tar.gz
volse-hubzilla-e8cd3b70407b4c33d82d21cc3a470b2a58852e4f.tar.bz2
volse-hubzilla-e8cd3b70407b4c33d82d21cc3a470b2a58852e4f.zip
bring back mail list and cleanup some issues which popped out with full PHP warnings
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r--include/contact_widgets.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index ca212796f..e5f778e49 100644
--- a/include/contact_widgets.php
+++ b/include/contact_widgets.php
@@ -70,11 +70,11 @@ function fileas_widget($baseurl,$selected = '') {
function categories_widget($baseurl,$selected = '') {
+ $a = get_app();
+
if(! feature_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",
intval($a->profile['profile_uid']),