aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-19 01:20:51 -0700
committerfriendica <info@friendica.com>2013-07-19 01:20:51 -0700
commitade81747503fe64fc3c7f99e0e3ff34b7d6cc3e7 (patch)
tree7c73526ce6879dc943f9e413e7edd7a638c042a5 /mod
parent29f53a40499a4b2b170597991877fcbd02861316 (diff)
downloadvolse-hubzilla-ade81747503fe64fc3c7f99e0e3ff34b7d6cc3e7.tar.gz
volse-hubzilla-ade81747503fe64fc3c7f99e0e3ff34b7d6cc3e7.tar.bz2
volse-hubzilla-ade81747503fe64fc3c7f99e0e3ff34b7d6cc3e7.zip
private pokes - perhaps a little *too* private.
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']);