From a1ffb5ee724e6879f3b24708d70b808c4438e2fc Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 29 Jul 2014 18:34:24 -0700 Subject: sql error --- include/contact_widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/contact_widgets.php') diff --git a/include/contact_widgets.php b/include/contact_widgets.php index bccf8b4ae..28a9fcfd3 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -79,7 +79,7 @@ function categories_widget($baseurl,$selected = '') { and term.uid = item.uid and term.type = %d and item.author_xchan = '%s' - and item.restrict = 0 + and item.item_restrict = 0 order by term.term asc", intval($a->profile['profile_uid']), intval(TERM_CATEGORY), -- cgit v1.2.3