From 6d92ac7e58cc3fc65b5452c962c1af12d82a1b13 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 3 Mar 2015 16:00:24 -0800 Subject: enable sql_extra on pdl_selector --- include/comanche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/comanche.php') diff --git a/include/comanche.php b/include/comanche.php index 9db375c38..e8d3ca5a1 100644 --- a/include/comanche.php +++ b/include/comanche.php @@ -18,9 +18,9 @@ require_once('include/widgets.php'); function pdl_selector($uid, $current="") { $o = ''; - //$sql_extra = item_permissions_sql($uid); + $sql_extra = item_permissions_sql($uid); - $r = q("select item_id.*, mid from item_id left join item on iid = item.id where item_id.uid = %d and item_id.uid = item.uid and service = 'PDL' order by sid asc", + $r = q("select item_id.*, mid from item_id left join item on iid = item.id where item_id.uid = %d and item_id.uid = item.uid and service = 'PDL' $sql_extra order by sid asc", intval($uid) ); -- cgit v1.2.3