aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-03 16:00:24 -0800
committerfriendica <info@friendica.com>2015-03-03 16:00:24 -0800
commit6d92ac7e58cc3fc65b5452c962c1af12d82a1b13 (patch)
tree3a874c94f3c5487b09df3e290167d6dfa8e306aa
parentc551ca430bd935db860f88910a42aaf63680a12e (diff)
downloadvolse-hubzilla-6d92ac7e58cc3fc65b5452c962c1af12d82a1b13.tar.gz
volse-hubzilla-6d92ac7e58cc3fc65b5452c962c1af12d82a1b13.tar.bz2
volse-hubzilla-6d92ac7e58cc3fc65b5452c962c1af12d82a1b13.zip
enable sql_extra on pdl_selector
-rw-r--r--include/comanche.php4
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)
);