diff options
-rw-r--r-- | include/comanche.php | 4 |
1 files changed, 2 insertions, 2 deletions
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) ); |