aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_widgets.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-05-05 05:35:00 -0400
committerAndrew Manning <tamanning@zoho.com>2016-05-05 05:35:00 -0400
commit6ce939491bf932c20c9777a8518da5875e02a6b1 (patch)
treee49b75c9017015677e6d550d75e4ce62ffaddc75 /include/contact_widgets.php
parent8cb06e7af8c3a14a6513d2aee2beba091f3ecfb5 (diff)
parent8ffdc4859baa9f2ae9567a4c443dfbb227919167 (diff)
downloadvolse-hubzilla-6ce939491bf932c20c9777a8518da5875e02a6b1.tar.gz
volse-hubzilla-6ce939491bf932c20c9777a8518da5875e02a6b1.tar.bz2
volse-hubzilla-6ce939491bf932c20c9777a8518da5875e02a6b1.zip
Merge remote-tracking branch 'upstream/dev' into plugin-repo
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r--include/contact_widgets.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index ba1241fcb..e62d57aa2 100644
--- a/include/contact_widgets.php
+++ b/include/contact_widgets.php
@@ -79,12 +79,14 @@ function categories_widget($baseurl,$selected = '') {
where item.uid = %d
and term.uid = item.uid
and term.type = %d
+ and term.otype = %d
and item.owner_xchan = '%s'
and item.item_wall = 1
$item_normal
order by term.term asc",
intval(App::$profile['profile_uid']),
intval(TERM_CATEGORY),
+ intval(TERM_OBJ_POST),
dbesc(App::$profile['channel_hash'])
);
if($r && count($r)) {