aboutsummaryrefslogtreecommitdiffstats
path: root/mod/group.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-11 04:14:47 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-11 04:14:47 -0700
commitd2c6fa3fa15177990dbc1ae6370f670ed59b3243 (patch)
tree49dd80f6c1c996e9e9e84bd960962ccc5aea851d /mod/group.php
parentf4e634ad526198cc5c79e74d77b19c8a1b518942 (diff)
downloadvolse-hubzilla-d2c6fa3fa15177990dbc1ae6370f670ed59b3243.tar.gz
volse-hubzilla-d2c6fa3fa15177990dbc1ae6370f670ed59b3243.tar.bz2
volse-hubzilla-d2c6fa3fa15177990dbc1ae6370f670ed59b3243.zip
group removal
Diffstat (limited to 'mod/group.php')
-rw-r--r--mod/group.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/group.php b/mod/group.php
index a3bd750f9..fbd38bfeb 100644
--- a/mod/group.php
+++ b/mod/group.php
@@ -93,11 +93,11 @@ function group_content(&$a) {
));
}
-
+
if(($a->argc == 3) && ($a->argv[1] == 'drop')) {
- if(intval($argv[2])) {
+ if(intval($a->argv[2])) {
$r = q("SELECT `name` FROM `group` WHERE `id` = %d AND `uid` = %d LIMIT 1",
- intval($argv[2]),
+ intval($a->argv[2]),
intval($_SESSION['uid'])
);
if(count($r))