aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/lockview.php4
-rwxr-xr-xmod/poke.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/mod/lockview.php b/mod/lockview.php
index 7dda85623..fb6ccd2f4 100644
--- a/mod/lockview.php
+++ b/mod/lockview.php
@@ -47,7 +47,7 @@ function lockview_content(&$a) {
stringify_array_elms($allowed_users,true);
stringify_array_elms($deny_groups,true);
stringify_array_elms($deny_users,true);
-
+dbg(1);
if(count($allowed_groups)) {
$r = q("SELECT name FROM `group` WHERE hash IN ( " . implode(', ', $allowed_groups) . " )");
if($r)
@@ -72,7 +72,7 @@ function lockview_content(&$a) {
foreach($r as $rr)
$l[] = '<strike>' . $rr['xchan_name'] . '</strike>';
}
-
+dbg(0);
echo $o . implode(', ', $l);
killme();
diff --git a/mod/poke.php b/mod/poke.php
index 6cf0c97f1..b22f7d9d5 100755
--- a/mod/poke.php
+++ b/mod/poke.php
@@ -79,7 +79,7 @@ function poke_init(&$a) {
$item_private = ((x($_GET,'private')) ? intval($_GET['private']) : 0);
- $allow_cid = (($item_private) ? '<' . $target['abook_hash']. '>' : $channel['channel_allow_cid']);
+ $allow_cid = (($item_private) ? '<' . $target['abook_xchan']. '>' : $channel['channel_allow_cid']);
$allow_gid = (($item_private) ? '' : $channel['channel_allow_gid']);
$deny_cid = (($item_private) ? '' : $channel['channel_deny_cid']);
$deny_gid = (($item_private) ? '' : $channel['channel_deny_gid']);