aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-30 15:28:13 -0800
committerfriendica <info@friendica.com>2012-12-30 15:28:13 -0800
commit8eee37e1fabc1bdfbc287e9fbd50cdf89a254f20 (patch)
tree7462a4ef586558e73f6ff50081f68ff126c88341 /mod
parenta8e16c48b199fc767ef990d171bf0778e9cdc3bc (diff)
downloadvolse-hubzilla-8eee37e1fabc1bdfbc287e9fbd50cdf89a254f20.tar.gz
volse-hubzilla-8eee37e1fabc1bdfbc287e9fbd50cdf89a254f20.tar.bz2
volse-hubzilla-8eee37e1fabc1bdfbc287e9fbd50cdf89a254f20.zip
more logging, some debugging of group membership page
Diffstat (limited to 'mod')
-rw-r--r--mod/group.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/group.php b/mod/group.php
index 40f7d756a..91b9999dc 100644
--- a/mod/group.php
+++ b/mod/group.php
@@ -1,8 +1,9 @@
<?php
+require_once('include/group.php');
+
function group_aside(&$a) {
if(local_user()) {
- require_once('include/group.php');
$a->set_widget('groups_edit',group_side('collections','group',false,(($a->argc > 1) ? intval($a->argv[1]) : 0)));
}
}
@@ -62,6 +63,8 @@ function group_post(&$a) {
function group_content(&$a) {
$change = false;
+
+ logger('mod_group: ' . $a->cmd,LOGGER_DEBUG);
if(! local_user()) {
notice( t('Permission denied') . EOL);
@@ -112,6 +115,7 @@ function group_content(&$a) {
if((argc() > 2) && intval(argv(1)) && argv(2)) {
+
check_form_security_token_ForbiddenOnErr('group_member_change', 't');
$r = q("SELECT abook_xchan from abook where abook_xchan = '%s' and abook_channel = %d and not (abook_flags & %d) and not (abook_flags & %d) and not (abook_flags & %d) limit 1",